-
- Downloads
query-part: ignore the URI part for given protocols
By setting PROTOPT_NOURLQUERY in the protocol handler struct, the protocol will get the "query part" of the URL cut off before the data is handled by the protocol-specific code. This makes libcurl adhere to RFC3986 section 2.2. Test 1220 is added to verify a file:// URL with query-part.
Showing
- lib/dict.c 1 addition, 1 deletionlib/dict.c
- lib/file.c 1 addition, 1 deletionlib/file.c
- lib/ftp.c 3 additions, 2 deletionslib/ftp.c
- lib/imap.c 4 additions, 2 deletionslib/imap.c
- lib/pop3.c 3 additions, 2 deletionslib/pop3.c
- lib/smtp.c 3 additions, 2 deletionslib/smtp.c
- lib/ssh.c 4 additions, 2 deletionslib/ssh.c
- lib/telnet.c 1 addition, 1 deletionlib/telnet.c
- lib/tftp.c 1 addition, 1 deletionlib/tftp.c
- lib/url.c 19 additions, 0 deletionslib/url.c
- lib/urldata.h 2 additions, 0 deletionslib/urldata.h
- tests/data/Makefile.am 1 addition, 0 deletionstests/data/Makefile.am
- tests/data/test1220 30 additions, 0 deletionstests/data/test1220
Loading
Please register or sign in to comment