[ 
https://issues.apache.org/jira/browse/CMIS-210?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12869194#action_12869194
 ] 

Dave Landers edited comment on CMIS-210 at 5/19/10 12:34 PM:
-------------------------------------------------------------

Attached my fixes to the browser xsl.
Added xmlns:urlenc="http://java.sun.com/java/java.net.URLEncoder";
and changed instances of:

        href="{$browseur...@href}"

to
        href="{$browseUrl}{urlenc:encode(@href)}"



      was (Author: landers):
    My fixes to the browser xsl.
Added xmlns:urlenc="http://java.sun.com/java/java.net.URLEncoder";
and changed instances of:

        href="{$browseur...@href}"

to
        href="{$browseUrl}{urlenc:encode(@href)}"


  
> test browser links need url encoding
> ------------------------------------
>
>                 Key: CMIS-210
>                 URL: https://issues.apache.org/jira/browse/CMIS-210
>             Project: Chemistry
>          Issue Type: Bug
>          Components: opencmis-test
>            Reporter: Dave Landers
>            Priority: Minor
>         Attachments: browser_xsl_encoding.zip
>
>
> Links in the browser are not working with our CMIS repo (Oracle) as the url 
> query param is not encoded (so query params on our links - especially paging 
> links next/previous/first/last - are being lost)
> All the link and collection href's in the browser's xsl need to be encoded so 
> they forward to the repository properly.
> I have a potential fix for entry.xsl, feed.xsl, and service.xsl I would be 
> happy to contribute

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to