cancel
Showing results for 
Search instead for 
Did you mean: 

URL Encoding of script tag src attribute

ron_1
Star Contributor
Star Contributor

It appears that numerous Nuxeo xhtml files have script tags with a src attribute url that is not encoded. For example, see line 24 in nuxeo-user-activity-stream/src/main/resources/web/nuxeo.war/incl/includes.xhtml:

<script type="text/javascript" src="#{baseURL}js/?scripts=confirmAlerts.js|DragAndDrop.js|tableSelections.js|customSeamRemotingWaiter.js|custom-javascript.js|default-contextmenu-actions.js|custom-contextmenu-actions.js|tooltip.js"></script>

The url includes the vertical pipe/bar character '|' which is "unsafe" and should be encoded as %7C. Should I open a bug for this issue across the platform?

/Ron

1 ACCEPTED ANSWER

ron_1
Star Contributor
Star Contributor

I consider this a RFC 1738 compliancy bug and opened JIRA issue https://jira.nuxeo.com/browse/NXP-8916 which has since been resolved.

View answer in original post

3 REPLIES 3

ron_1
Star Contributor
Star Contributor

I consider this a RFC 1738 compliancy bug and opened JIRA issue https://jira.nuxeo.com/browse/NXP-8916 which has since been resolved.

You right this not really clean to let that. But the RFC is not really clear in this subject as this explained here

Can you copy the JIRA ticket here. I see that you pull request a fix about that, right ?

Getting started

Find what you came for

We want to make your experience in Hyland Connect as valuable as possible, so we put together some helpful links.