nodeSolidServer / nodeSolidServer/node-solid-server
Adding Support for ACL mime-types.
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 1.8k
- Forks
- 308
- PR merge metrics
- No merged PRs in 30d
Description
I noticed there is no support for uploading acl files since there is no well-defined mime-type. Because of this, if I try and POST an acl file into a container it will automatically add an unwanted file extension. This may be a one-line fix by adding the line
extensions['text/acl'] = ['acl']
to the top of ./lib/handlers/post.js.
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 in lib/handlers/post.js, where the issue identifies the MIME extension mappings. Check the existing upload handling and nearby conventions for extension entries. Done means ACL uploads retain the .acl filename without an unwanted extension; manually verify the POST behavior if no referenced test is available.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- javascript
- Domain
- backend
- Issue type
- Bug
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 55/100