Closed mernst closed 5 years ago
Michael, thx for the error report.
The current check is really naive, implemented in
URLUtil: public static boolean containsInvalidChars(String aLink) {
by a (too) simple RegEx
As a simple (and known-to-be-imperfect) fix I modify this Regex to let "!" pass as legal character.
Will include a regression test in URLUtilSpec.groovy.
@mernst - I commited and pushed version 1.1.1 to the plugin portal. Please upgrade your build configuration ...
That works! Thank you very much.
When running on a document that contains
I get the warning:
This URL does work in a browser, and quoting the characters (such as
https://groups.google.com/forum/%23!forum/randoop-discuss
) produces a URL that does not work. So it seems that htmlSanityCheck should not issue this warning.Some suggestions:
Thanks!