summaryrefslogtreecommitdiff
path: root/docs/cmdline-opts/disallow-username-in-url.md
blob: 012f2d0dc80af5dce5b55044da938e1e65797798 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
---
c: Copyright (C) Daniel Stenberg, <daniel@haxx.se>, et al.
SPDX-License-Identifier: curl
Long: disallow-username-in-url
Help: Disallow username in URL
Added: 7.61.0
Category: curl
Multi: boolean
See-also:
  - proto
Example:
  - --disallow-username-in-url $URL
---

# `--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.