[ https://issues.apache.org/jira/browse/JSPWIKI-1181?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17759853#comment-17759853 ]
Ulf Dittmer commented on JSPWIKI-1181: -------------------------------------- I can reproduce the issue on all browsers (Firefox, Chrome, Safari). The "XML parsing error" only happens in Firefox (so maybe that's a red herring), but the link is rendered as "Pic/pdf.png" and points to "https://jspwiki-wiki.apache.org/Wiki.jsp?page=Picpdf.png" on all browsers. > 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 > > 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)