550 B
550 B
| c | SPDX-License-Identifier | Long | Help | Added | Category | Multi | See-also | Example | ||
|---|---|---|---|---|---|---|---|---|---|---|
| Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al. | curl | disallow-username-in-url | Disallow username in URL | 7.61.0 | curl | boolean |
|
|
--disallow-username-in-url
Exit with error if passed a URL containing a username. Probably most useful when the URL is being provided at runtime or similar.
Accepting and using credentials in a URL is normally considered a security hazard as they are easily leaked that way.