Closed jperterm closed 1 year ago
True, we need to fix this. There's already an open issue for that (#1172), so I'll close yours.
Until this is fixed, you can use helper functions of our Database Module instead(db:name, db:path).
Ah, thanks for the hint with the helper functions. I already tried to find something alike.
Description of the Problem
When I execute
collection('...')/base-uri()
on a database which has a file/document named[Content_Types].xml
, I getInvalid URI: /some-db/[Content_Types].xml
.[Content_Types].xml
files are part of the Open Packaging Conventions, which e.g. is used for packaging OOXML (DOCX files etc.).Expected Behavior
I expect the URI have escaped square brackets and produce
/some-db/%5BContent_Types.xml%5D.xml
.Steps to Reproduce the Behavior
[Content_Types].xml
file with valid xml.some-db
with file above.collection('some-db')/base-uri()
Do you have an idea how to solve the issue?
No response
What is your configuration?