Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

localResource check if HtmlFile #153

Closed
soukainafir opened this issue Jul 18, 2017 · 6 comments
Closed

localResource check if HtmlFile #153

soukainafir opened this issue Jul 18, 2017 · 6 comments
Assignees

Comments

@soukainafir
Copy link

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]

@rdmueller
Copy link
Collaborator

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

@gernotstarke
Copy link
Member

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

@vogella
Copy link

vogella commented Jun 20, 2018

We are also affected. cc @SimonScholz.

Maybe @joschi would be able to help here again?

@gernotstarke
Copy link
Member

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

@ascheman
Copy link
Member

It seems I have been running into a similar problem (at least as for the OP: a javascript: URL currently leads to a NPE).

ascheman added a commit that referenced this issue Aug 21, 2024
@ascheman
Copy link
Member

Hopefully resolved. Please provide more test cases when the problem persists.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants