You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Confirmed. The problem is that the hostname check function is called with the URL encoded host name as input and not the decoded version so it thinks the % in there is invalid.
It was previously wrongly verifying the input in its URL encoded format
when setting the hostname component with curl_url_set(), so it wrongly
rejected '%'.
Now it URL decodes the name appropriately before the check.
Added tests to lib1560 to verify that a fine %-code is okay and that a
bad %-code (that decodes to '%') is rejected.
Regression from 0a0c9b6, shipped in 8.0.0
Fixes#14656
Reported-by: Venkat Krishna R
I did this
I expected the following
I expected it to return CURLUE_OK but got this
When I run the above code with an older curl I get
No error!
curl/libcurl version
libcurl versionlibcurl/8.9.1 OpenSSL/1.1.1f zlib/1.2.11 brotli/1.0.7 libpsl/0.21.0
operating system
Ubuntu 22.04
The text was updated successfully, but these errors were encountered: