redirect: skip URL encoding for host names#1762
redirect: skip URL encoding for host names#1762salshaaban wants to merge 1 commit intocurl:masterfrom
Conversation
This fixes redirects to IDN URLs Bug: curl#1441 Reported by: David Lord
|
@salshaaban, thanks for your PR! By analyzing the history of the files in this pull request, we identified @bagder, @dfandrich and @yangtse to be potential reviewers. |
|
Thanks, I'm working on writing up a test for this. In fact, I already did but the problem now is that the test uses a hard-coded port number in the HTTP response header and that's not how we like to do things, so I need to come up with a solution to that ... |
I should've done that myself. Sorry! |
|
check out test1448 (remove the |
|
Aha! I figured it out. I can use |
|
That's now in #1772 |
|
Thanks! |
This fixes redirects to IDN URLs
Bug: #1441
Reported by: David Lord