Skip to content
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

Registration allows invalid name (distinct from user name) / it is not escaped when rendered #54

Open
AJamesPhillips opened this issue Aug 24, 2021 · 0 comments

Comments

@AJamesPhillips
Copy link

AJamesPhillips commented Aug 24, 2021

Distinct from #53. solidcommunity.net allows for the new user's name (not their user name) to contain characters such as: ajp (test) user NAME !@£$%^&*()_+`~-={}|[]\:";'<>?,./

These do not appear to be escaped and rendered successfully when viewing their card:
https://ajptestuser2.solidcommunity.net/profile/card#me

Giving the error:

Outline.expand: Unable to fetch https://ajptestuser2.solidcommunity.net/profile/card: Failed to load https://ajptestuser2.solidcommunity.net/profile/card Fetcher: Error trying to parse https://ajptestuser2.solidcommunity.net/profile/card as Notation3:
SyntaxError: Line 16 of https://ajptestuser2.solidcommunity.net/profile/card: Bad syntax: bad escape
at: ":";'<>?,./" ;" status: 200

(Perhaps this should live on https://github.com/solid/node-solid-server ?)

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

No branches or pull requests

1 participant