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
GWT preloader doesn't use percent-encoding #7356
Comments
Can you assign this task to me? |
No-one's rushing to do anything about this - it can informally be your issue. One possible solution could be: URLEncoder.encode("Hey; wh@t?!", "UTF-8").replace("+", "%20"); Returns: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I noticed today a filename containing a semicolon fails to load on GWT as its path in
assets.txt
contains a literal;
instead of%3B
. This and other reserved characters should be encoded to avoid issues.libgdx/backends/gdx-backends-gwt/src/com/badlogic/gdx/backends/gwt/preloader/PreloaderBundleGenerator.java
Line 125 in 9707171
It would also be an idea to transform the paths to lowercase, though the superDev server is case-sensitive even on Windows so any errors from that should be caught pretty quickly.
Sure, asset names shouldn't contain funny characters to begin with, but they do.
The text was updated successfully, but these errors were encountered: