Skip to content

fix "Charset '#null' not found"#760

Open
AcrylonitrileButadieneStyrene wants to merge 1 commit intoynoproject:masterfrom
AcrylonitrileButadieneStyrene:patch-2
Open

fix "Charset '#null' not found"#760
AcrylonitrileButadieneStyrene wants to merge 1 commit intoynoproject:masterfrom
AcrylonitrileButadieneStyrene:patch-2

Conversation

@AcrylonitrileButadieneStyrene

a # in a url is interpreted as a part of the url hash, which is not sent to the server.
for example,
https://ynoproject.net/data/2kki/CharSet/#null.png is interpreted as
https://ynoproject.net/data/2kki/CharSet/ which is a 403.

the fix is to URL encode the # symbol as %23, which looks like:
https://ynoproject.net/data/2kki/CharSet/%23null.png

example of another charset with a # in the name, but not empty:
https://ynoproject.net/data/2kki/CharSet/#System_EVicon01.png
old behavior: https://ynoproject.net/data/2kki/CharSet/ (403 error)
new behavior: https://ynoproject.net/data/2kki/CharSet/%23System_EVicon01.png

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants