Search fails when a percent % symbol is used in the search term
Having trouble installing Oxygen XML WebHelp? Got a bug to report? Post it all here.
Search fails when a percent % symbol is used in the search term
- oxygen-search-pct.zip
- Example .ditamap and .dita file that can be used to reproduce the issue.
- (1.18 KiB) Downloaded 9 times
Given I have a topic containing a Windows-based variable path such as:
Code: Select all
%userprofile%
When I search for the exact term including percentage symbols,
Then the search crashes with an uncaught "URI malformed" error when calling decodeURIComponent and does not output search results.
Code: Select all
commons.js?buildId=2024041900:2 Uncaught URIError: URI malformed
at decodeURIComponent (<anonymous>)
at Function.value (search.js?buildId=2024041900:1:2659)
at e.value (search.js?buildId=2024041900:1:55494)
at HTMLDocument.<anonymous> (search.js?buildId=2024041900:1:57756)
at u (commons.js?buildId=2024041900:2:154697)
at c (commons.js?buildId=2024041900:2:154999)
value @ search.js?buildId=2024041900:1
value @ search.js?buildId=2024041900:1
(anonymous) @ search.js?buildId=2024041900:1
u @ commons.js?buildId=2024041900:2
c @ commons.js?buildId=2024041900:2
setTimeout (async)
T.readyException @ commons.js?buildId=2024041900:2
(anonymous) @ commons.js?buildId=2024041900:2
u @ commons.js?buildId=2024041900:2
c @ commons.js?buildId=2024041900:2
setTimeout (async)
(anonymous) @ commons.js?buildId=2024041900:2
l @ commons.js?buildId=2024041900:2
fireWith @ commons.js?buildId=2024041900:2
fire @ commons.js?buildId=2024041900:2
l @ commons.js?buildId=2024041900:2
fireWith @ commons.js?buildId=2024041900:2
c @ commons.js?buildId=2024041900:2
setTimeout (async)
(anonymous) @ commons.js?buildId=2024041900:2
l @ commons.js?buildId=2024041900:2
fireWith @ commons.js?buildId=2024041900:2
fire @ commons.js?buildId=2024041900:2
l @ commons.js?buildId=2024041900:2
fireWith @ commons.js?buildId=2024041900:2
ready @ commons.js?buildId=2024041900:2
z @ commons.js?buildId=2024041900:2
Attachment: Example .ditamap and .dita file that can be used to reproduce the issue.
Re: Search fails when a percent % symbol is used in the search term
Thank you for bringing the issue to our attention and for the comprehensive description you provided.
We registered a bug report with the id WH-3312, and we anticipate that the fix will be available in the next Oxygen maintenance build.
We will update this forum thread once the fix is implemented.
Best regards,
Marius
We registered a bug report with the id WH-3312, and we anticipate that the fix will be available in the next Oxygen maintenance build.
We will update this forum thread once the fix is implemented.
Best regards,
Marius
Marius Ciolacu
Syncro Soft / Oxygen XML
Syncro Soft / Oxygen XML
Jump to
- Oxygen XML Editor/Author/Developer
- ↳ Feature Request
- ↳ Common Problems
- ↳ DITA (Editing and Publishing DITA Content)
- ↳ SDK-API, Frameworks - Document Types
- ↳ DocBook
- ↳ TEI
- ↳ XHTML
- ↳ Other Issues
- Oxygen XML Web Author
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Content Fusion
- ↳ Feature Request
- ↳ Common Problems
- Oxygen JSON Editor
- ↳ Feature Request
- ↳ Common Problems
- Oxygen PDF Chemistry
- ↳ Feature Request
- ↳ Common Problems
- Oxygen Feedback
- ↳ Feature Request
- ↳ Common Problems
- Oxygen XML WebHelp
- ↳ Feature Request
- ↳ Common Problems
- XML
- ↳ General XML Questions
- ↳ XSLT and FOP
- ↳ XML Schemas
- ↳ XQuery
- NVDL
- ↳ General NVDL Issues
- ↳ oNVDL Related Issues
- XML Services Market
- ↳ Offer a Service