diff options
Diffstat (limited to 'src/gmrequest.c')
-rw-r--r-- | src/gmrequest.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gmrequest.c b/src/gmrequest.c index a1cf1a8e..8626403f 100644 --- a/src/gmrequest.c +++ b/src/gmrequest.c | |||
@@ -493,7 +493,7 @@ void deinit_GmRequest(iGmRequest *d) { | |||
493 | } | 493 | } |
494 | 494 | ||
495 | void setUrl_GmRequest(iGmRequest *d, const iString *url) { | 495 | void setUrl_GmRequest(iGmRequest *d, const iString *url) { |
496 | set_String(&d->url, url); | 496 | set_String(&d->url, urlFragmentStripped_String(url)); |
497 | /* Encode hostname to Punycode here because we want to submit the Punycode domain name | 497 | /* Encode hostname to Punycode here because we want to submit the Punycode domain name |
498 | in the request. (TODO: Pending possible Gemini spec change.) */ | 498 | in the request. (TODO: Pending possible Gemini spec change.) */ |
499 | punyEncodeUrlHost_String(&d->url); | 499 | punyEncodeUrlHost_String(&d->url); |