Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

url_parse doesn't work with URL containing non-ASCII characters #442

Open
MarekProkop opened this issue May 14, 2024 · 0 comments
Open

url_parse doesn't work with URL containing non-ASCII characters #442

MarekProkop opened this issue May 14, 2024 · 0 comments
Labels
bug an unexpected problem or unintended behavior

Comments

@MarekProkop
Copy link

xml2::url_parse("https://www.spa.cz/spacz/images/procedures/Slatinná%20koupel.jpg") returns port -541335376 and all other URL components blank. The reason is the character á in the path. Without it (or if it is URL encoded), the result is correct.

It may be a feature, but I guess it's rather a bug. Such URLs are quite common in some languages and all major web clients (browsers, search engines etc.) can handle them fine.

@hadley hadley added the bug an unexpected problem or unintended behavior label Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug an unexpected problem or unintended behavior
Projects
None yet
Development

No branches or pull requests

2 participants