-
-
Notifications
You must be signed in to change notification settings - Fork 437
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
Have Launcher/Creator Tools/Etc handle URLs with spaces and other uncommon names correctly #223
Comments
They work in a normal web browser but the client just seems to dislike the urls. |
URLs can only be sent over the Internet using the ASCII character-set. Many of modern days browsers step in and convert unsafe ASCII characters automatically - that is why they work in normal browsers. For example the last one (OnlinePicFrame) URL becomes |
@spannerman79 yeah I figured but we have the correct/safe url inputted into the url.txt but the launcher fails to download still. Any ideas why? |
That is the output of wget on my end - so the "unknown response" that is listed in your error needs to be found out yourself. I cannot do it as I get a http response of 200. |
I'll check it out tonight if I don't forget. |
@sk89q @spannerman79 Thank you both, I appreciate it. I'll keep an eye out for a reply. 😄 |
Another "launcher" has pointed out that the Curse platform does not use valid URLs according to RFC 3986, section 2.1 by including spaces and UTF-8 characters without percent encoding them. So this is in fact a Curse issue (technically mod devs for the stupid as f* file naming as well as Curse for letting them get away with it) |
Another example: If I leave it as-is in url.txt, curse naturally complains about the non-ASCII characters in the URL with HTTP400. But if I try to escape the §'s myself, then my %'s get escaped, and 404s ensue. So whatever is trying to url-escape the contents of url.txt files isn't doing it right (eg. it escapes |
I think the problems on Curse's side that previously caused this issue have been cleaned up, and now there's a persistent issue on our side. |
I've noticed that trying to download mods with spaces or other symbols in the name result the client to error out.
Examples:
Botania r1.10-352.jar
Pam's HarvestCraft 1.12.2a.jar
BiblioCraft[v2.4.3][MC1.12.0].jar
The Beneath-1.12.2-1.3.0.jar
CreativeCore v1.9.12 mc1.12.2.jar
OnlinePicFrame v1.4.14 mc1.12.2.jar
Out of all my mods that download from curse, these 6 fail with
Ultimately if every Modder followed a set naming rule that removed spaces and symbols like
[
|
]
etc we wouldn't have any issues like this.The text was updated successfully, but these errors were encountered: