-
Type: Bug
-
Status: Resolved
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 10.10
-
Fix Version/s: 10.10-HF30, 11.2, 2021.0
-
Component/s: Web UI
-
Release Notes Summary:Ability to navigate to document when URL contains newline
-
Tags:
-
Backlog priority:800
-
Team:UI
-
Sprint:UI - 2020-07 2
When a document is created with a document name containing a newline, the Web UI is unable to navigate to the document. E.g. http://localhost:8080/nuxeo/ui/#!/browse/default-domain/workspaces/ws%0A.
How to reproduce:
- create a workspace with the following command:
node - <<EOF var Nuxeo = require('nuxeo'); var nuxeo = new Nuxeo({ auth: { method: 'basic', username: 'Administrator', password: 'Administrator' } }); var newDoc = { 'entity-type': 'document', type: 'Workspace', name: 'ws\n', properties: {"dc:title":"ws"} }; nuxeo.repository().create("/default-domain/workspaces", newDoc); EOF
- in the Web UI, navigate to /default-domain/workspaces/ws%0A
Expected result: the Web UI renders the document.
Actual result: the Web UI renders an error page with error 404 NOT FOUND.
- causes
-
WEBUI-25 Fix Web UI not loading on Edge Legacy
- Resolved
- Is referenced in