[ 
https://issues.apache.org/jira/browse/JSPWIKI-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17770865#comment-17770865
 ] 

Dirk Frederickx commented on JSPWIKI-1181:
------------------------------------------

@Arthur,

Actually, it would be better to fix the cleanPageName() function. It 
incorrectly removes the "/" character.


dirk

> Search popup does not handle attachments correctly
> --------------------------------------------------
>
>                 Key: JSPWIKI-1181
>                 URL: https://issues.apache.org/jira/browse/JSPWIKI-1181
>             Project: JSPWiki
>          Issue Type: Bug
>          Components: Templates and UI
>    Affects Versions: 2.12.1
>            Reporter: Ulf Dittmer
>            Priority: Minor
>              Labels: pull-request-available
>
> If a search finds an attachment, that is not rendered correctly in the search 
> popup. A JavaScript error happens (see below), and the link to the attachment 
> is broken. This can be seen on [https://jspwiki-wiki.apache.org/] when 
> searching for 'pdf' for the result "Pic/pdf.png".
> {quote}XML Parsing Error: syntax error Location: 
> [https://jspwiki-wiki.apache.org/ajax/search/pages] Line Number 1, Column 1
> {quote}
> When bringing up the full search page, this is handled correctly.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to