htmlSanityCheck icon indicating copy to clipboard operation
htmlSanityCheck copied to clipboard

localResource check if HtmlFile

Open soukainafir opened this issue 8 years ago • 4 comments

The hrefs need to be valid html links and we should check the regex before processing the file. Noticed this when processing pages containing javacript scripts href=javascript:show(id) for example, this gives the following error : groovy.lang.GroovyRuntimeException: Ambiguous method overloading for method java.io.File#. Cannot resolve which method to invoke for [class java.lang.String, null] due to overlapping prototypes between: [class java.lang.String, class java.lang.String] [class java.lang.String, class java.io.File]

soukainafir avatar Jul 18 '17 15:07 soukainafir

I have the same problem with file://URIs...

rdmueller avatar Jul 18 '17 20:07 rdmueller

thx for mentioning... Currently I cannot give an estimation for a fix-date.. but I promise to look into it :-)

gernotstarke avatar Jul 20 '17 09:07 gernotstarke

We are also affected. cc @simonscholz.

Maybe @joschi would be able to help here again?

vogella avatar Jun 20 '18 08:06 vogella

I'd be most grateful for help... @SimonScholz or @joschi, if you like I can give you commit rights so you can fix and don't need to wait for me to accept the PRs

gernotstarke avatar Jun 20 '18 08:06 gernotstarke