[curl/curl] fb5bbd: urlapi: reject spaces in URLs

Daniel Stenberg <[email protected]> Sat, 15 May 2021 08:43:09 -0700
Newsgroups gmane.comp.web.curl.cvs
Message-ID <curl/curl/push/refs/heads/bagder/url_set-space/[email protected]>
  Branch: refs/heads/bagder/url_set-space
  Home:   https://github.com/curl/curl
  Commit: fb5bbd655c5a7f08e4d25346a0cb28343e6a258d
      https://github.com/curl/curl/commit/fb5bbd655c5a7f08e4d25346a0cb28343e6a258d
  Author: Daniel Stenberg <[email protected]>
  Date:   2021-05-15 (Sat, 15 May 2021)

  Changed paths:
    M lib/urlapi.c
    M tests/libtest/lib1560.c

  Log Message:
  -----------
  urlapi: reject spaces in URLs

They were never officially allowed and slipped in only due to sloppy
parsing. Spaces (ascii 32) should be correctly encoded (to %20) before
being part of a URL.


_______________________________________________
curl-commits mailing list
[email protected]
https://cool.haxx.se/cgi-bin/mailman/listinfo/curl-commits