Support of single quotation marks in Nexus url parser

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

Support of single quotation marks in Nexus url parser

Nykky Markku



Is it so that Nexus does not support single quotation marks (‘) in href-attributes of an <a> HTML tag while parsing remote repository web pages?

I have a web page containing some rpm-files and the page contains couple of links in form like: <a href=’’>Example</a>.


I get an error in Nexus Manager:


“ - Unhandled exception or error intercepted

java.lang.StringIndexOutOfBoundsException: String index out of range: -6

                at java.lang.AbstractStringBuilder.substring( ~[na:1.7.0_55]

                at java.lang.StringBuilder.substring( ~[na:1.7.0_55]

                at ~[na:na]

                at ~[na:na]



when Nexus tries to parse the page and I think that the exception is thrown because Nexus cannot find double quotation mark from the url and so there is a negative index for StringBuilder’s substring-method and thus it throws the above-mentioned exception.