]> granicus.if.org Git - curl/commit
option: disallow username in URL
authorBjörn Stenberg <bjorn@haxx.se>
Sun, 25 Feb 2018 19:17:25 +0000 (20:17 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Thu, 31 May 2018 09:27:16 +0000 (11:27 +0200)
commit946ce5b61fc3832935ea92b4388116c7f637fb8c
tree3d4ef97037f869fdccb509940e35c972d476ee82
parent71d35e4a1d96011076d3e81cad4e7b417d9a3985
option: disallow username in URL

Adds CURLOPT_DISALLOW_USERNAME_IN_URL and --disallow-username-in-url. Makes
libcurl reject URLs with a username in them.

Closes #2340
15 files changed:
docs/cmdline-opts/disallow-username-in-url.d [new file with mode: 0644]
docs/libcurl/curl_easy_setopt.3
docs/libcurl/opts/CURLOPT_DISALLOW_USERNAME_IN_URL.3 [new file with mode: 0644]
docs/libcurl/opts/Makefile.inc
docs/libcurl/symbols-in-versions
include/curl/curl.h
lib/setopt.c
lib/url.c
lib/urldata.h
src/tool_cfgable.h
src/tool_getparam.c
src/tool_help.c
src/tool_operate.c
tests/data/Makefile.inc
tests/data/test2075 [new file with mode: 0644]