Topics
All
MacOS
(Only)
Windows
(Only)
Linux
(Only, Not)
iOS
(Only, Not)
Components
Crossplatform Mac & Win
Server
Client
Old
Deprecated
Guides
Examples
Videos
New in version:
9.3
9.4
9.5
10.0
10.1
10.2
10.3
10.4
10.5
10.6
Statistic
FMM
Blog
CURL.SetOptionDisallowUserNameInURL
Disallow specifying username/login in URL.
| Component | Version | macOS | Windows | Linux | Server | FileMaker iOS SDK |
| CURL | 8.3 | Yes | Yes | Yes | Yes | Yes |
MBS( "CURL.SetOptionDisallowUserNameInURL"; curl; Value ) More
Parameters
| Parameter | Description | Example |
|---|---|---|
| curl | The CURL session handle. | $curl |
| Value | The option value. Can be 1 to disable or 0 to enable. |
1 |
Result
Returns OK or error.
Description
Disallow specifying username/login in URL.The value 1 tells the library to not allow URLs that include an username.
Having password and username in the URL is a bad idea as you tell every proxy server your secret and the URLs appear on all proxy and the final web server right in the log files.
See also DISALLOW_USERNAME_IN_URL option in CURL manual.
Examples
Enable passwords in the URL:
MBS( "CURL.SetOptionDisallowUserNameInURL"; $curl; 1 )
Blog Entries
Release notes
- Version 8.3
Created 11st July 2018, last changed 5th October 2018
CURL.SetOptionDirListOnly - CURL.SetOptionEGDSocket
Feedback: Report problem or ask question.
Links
MBS Xojo Plugins