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

Error: TypeError: ERR_INVALID_FILE_URL_PATH File URL path must not include encoded / character #48

Open
timbl opened this issue Oct 2, 2023 · 0 comments

Comments

@timbl
Copy link
Contributor

timbl commented Oct 2, 2023

Maybe it should be allowed. Why not be able ensure that the info is all encoded in a single path segment?

Is this a encoding level bug?

<< S [2023-09-10 20:54:44] m.room.member <damon/:matrix.org> "damon/" ... YPeEwwg2Sk:-
State event
    avatar mxc: converted to  https://matrix.org/_matrix/media/r0/download/matrix.org/FCBaFtTXhQJCFivOJFJMjtEo
  person id: damon/:matrix.org -> solid <file:///Users/timbl/Documents/Public/Archive/Person/damon%2F%3Amatrix.org/index.ttl#this>
 fetching person file: <file:///Users/timbl/Documents/Public/Archive/Person/damon%2F%3Amatrix.org/index.ttl>
 #### Error reading person file Error: Fetcher: TypeError: ERR_INVALID_FILE_URL_PATH File URL path must not include encoded / characters
 #### Error reading person file   {"status":999,"statusText":"TypeError: ERR_INVALID_FILE_URL_PATH File URL path must not include encoded / characters","response":{"url":"file:///Users/timbl/Documents/Public/Archive/Person/damon%2F%3Amatrix.org/index.ttl","status":999,"statusText":"TypeError: ERR_INVALID_FILE_URL_PATH","responseText":"File URL path must not include encoded / characters","headers":{},"ok":false,"body":null,"bodyUsed":false,"size":0,"timeout":0}}
        err.response   [object Object]
        err.response.status   999

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