Skip to content

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

@timbl

Description

@timbl

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions