nodeSolidServer / nodeSolidServer/node-solid-server
Account deletion error with invalid WebID
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.8k
- Forks
- 308
- PR merge metrics
- No merged PRs in 30d
Description
I just tried removing an account for someone that wanted his account deleted using the delete request form: https://solid.community/account/delete (also occurs on https://inrupt.net/account/delete)
However, when submitting the form, I get the following error (changed the name for privacy reasons):
Error: Error: NamedNode IRI "https://rubentaelman.inrupt.net/Ruben Taelman" must not contain unencoded spaces.
I'm not sure what causes this error. But I think the user may have entered an invalid WebID URI during registration. If that is true, then validation should actually also happen during registration, but more importantly, the deletion request should not fail with such an invalid URI.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reproducing the failure through the account deletion form at solid.community/account/delete or inrupt.net/account/delete, then trace how the submitted WebID is handled. Compare this with registration validation. Done means an invalid WebID no longer causes the deletion request to fail, with the registration behavior addressed as appropriate.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript, node.js
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100