Title: Putting an ACL file whose URI contains encoded spaces fails because server unencodes the spaces and crashes · Issue #1211 · nodeSolidServer/node-solid-server · GitHub
Open Graph Title: Putting an ACL file whose URI contains encoded spaces fails because server unencodes the spaces and crashes · Issue #1211 · nodeSolidServer/node-solid-server
X Title: Putting an ACL file whose URI contains encoded spaces fails because server unencodes the spaces and crashes · Issue #1211 · nodeSolidServer/node-solid-server
Description: Please describe what you did in reproducible steps Edited am ACL file using the data bowser How did it work with 4.x series servers? There was no validity check What happened when you tried the same with the 5.x series server? Client log...
Open Graph Description: Please describe what you did in reproducible steps Edited am ACL file using the data bowser How did it work with 4.x series servers? There was no validity check What happened when you tried the sam...
X Description: Please describe what you did in reproducible steps Edited am ACL file using the data bowser How did it work with 4.x series servers? There was no validity check What happened when you tried the sam...
Opengraph URL: https://github.com/nodeSolidServer/node-solid-server/issues/1211
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Putting an ACL file whose URI contains encoded spaces fails because server unencodes the spaces and crashes","articleBody":"## Please describe what you did in reproducible steps\r\n\r\nEdited am ACL file using the data bowser\r\n\r\n## How did it work with 4.x series servers?\r\n\r\nThere was no validity check\r\n## What happened when you tried the same with the 5.x series server?\r\nClient log:\r\n```\r\nT http://localhost:3080/timbl/Public/Test/2018/Cascade%20test/ACL%20Pane%20tests/.acl 400 (Bad Request)\r\n```\r\nServer log:\r\n\r\n```\r\n solid:ldp VALIDATE -- Error parsing data: Error: Error trying to parse \u003chttp://localhost:3080/Library/WebServer/Documents/timbl/Public/Test/2018/Cascade test/ACL Pane tests/.acl\u003e as text/turtle:\r\n solid:ldp Error: Error: NamedNode IRI \"http://localhost:3080/Library/WebServer/Documents/timbl/Public/Test/2018/Cascade test/ACL Pane tests/.acl\" must not contain unencoded spaces.:\r\n solid:ldp Error: Error: NamedNode IRI \"http://localhost:3080/Library/WebServer/Documents/timbl/Public/Test/2018/Cascade test/ACL Pane tests/.acl\" must not contain unencoded spaces.\r\n solid:ldp at new NamedNode (/devel/github.com/solid/node-solid-server/node_modules/rdflib/lib/named-node.js:48:13)\r\n solid:ldp at IndexedFormula.sym (/devel/github.com/solid/node-solid-server/node_modules/rdflib/lib/formula.js:502:14)\r\n solid:ldp at new __SinkParser (/devel/github.com/solid/node-solid-server/node_modules/rdflib/lib/n3parser.js:240:29)\r\n solid:ldp at SinkParser (/devel/github.com/solid/node-solid-server/node_modules/rdflib/lib/n3parser.js:215:16)\r\n solid:ldp at Object.parse (/devel/github.com/solid/node-solid-server/node_modules/rdflib/lib/parse.js:27:15)\r\n solid:ldp at LDP.isValidRdf (/devel/github.com/solid/node-solid-server/lib/ldp.js:195:12)\r\n solid:ldp at putAcl (/devel/github.com/solid/node-solid-server/lib/handlers/put.js:41:11)\r\n solid:ldp at processTicksAndRejections (internal/process/next_tick.js:81:5) +0ms\r\n solid:server Error page because of: { [HTTPError: RDF file contains invalid syntax]\r\n name: 'HTTPError',\r\n message: 'RDF file contains invalid syntax',\r\n status: 400 } +1ms\r\n```\r\n## Any material that will help, logs, error messages, etc.\r\n","author":{"url":"https://github.com/timbl","@type":"Person","name":"timbl"},"datePublished":"2019-06-01T22:00:29.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":0},"url":"https://github.com/1211/node-solid-server/issues/1211"}
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:89fad20f-2ac5-3e92-abdb-85049773f892 |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | DA10:1E3FD:2C88E9:3882E9:6976C820 |
| html-safe-nonce | 0b42a8ef99c2cabbcee3476ff1995dcd1b97ecb12d7760e3d59d65cf1d5c503c |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEQTEwOjFFM0ZEOjJDODhFOTozODgyRTk6Njk3NkM4MjAiLCJ2aXNpdG9yX2lkIjoiMTIyNTEzNjYxNDA0NDc4MDU3NyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | 755bf09b9f1ff8c8779580bcee1a1ba84f02beec198bfbbd6194a8a3a7a879c3 |
| hovercard-subject-tag | issue:451128760 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/nodeSolidServer/node-solid-server/1211/issue_layout |
| twitter:image | https://opengraph.githubassets.com/cda40e1dfe87238c8949eef4eb9f9bd965f4fee88ab372edc6debbefa60c9c5c/nodeSolidServer/node-solid-server/issues/1211 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/cda40e1dfe87238c8949eef4eb9f9bd965f4fee88ab372edc6debbefa60c9c5c/nodeSolidServer/node-solid-server/issues/1211 |
| og:image:alt | Please describe what you did in reproducible steps Edited am ACL file using the data bowser How did it work with 4.x series servers? There was no validity check What happened when you tried the sam... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | timbl |
| hostname | github.com |
| expected-hostname | github.com |
| None | 032152924a283b83384255d9489e7b93b54ba01da8d380b05ecd3953b3212411 |
| turbo-cache-control | no-preview |
| go-import | github.com/nodeSolidServer/node-solid-server git https://github.com/nodeSolidServer/node-solid-server.git |
| octolytics-dimension-user_id | 104446421 |
| octolytics-dimension-user_login | nodeSolidServer |
| octolytics-dimension-repository_id | 24306004 |
| octolytics-dimension-repository_nwo | nodeSolidServer/node-solid-server |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 24306004 |
| octolytics-dimension-repository_network_root_nwo | nodeSolidServer/node-solid-server |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 5b577f6be6482e336e3c30e8daefa30144947b17 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
Links:
Viewport: width=device-width