Peter Parson created WICKET-5114: ------------------------------------ Summary: Url#toString(StringMode.FULL) throws exception if a segment contains two dots Key: WICKET-5114 URL: https://issues.apache.org/jira/browse/WICKET-5114 Project: Wicket Issue Type: Bug Components: wicket Affects Versions: 6.5.0 Reporter: Peter Parson
When invoking toString(StringMode.FULL) for a URL like /mountPoint/whatever.../ an IllegalStateException is thrown with message: Cannot render this url in FULL mode because it has a `..` segment: /mountPoint/whatever.../ The method does not actually check for `..` segments but rather checks whether path.contains("..") -- This message is automatically generated by JIRA. If you think it was sent incorrectly, please contact your JIRA administrators For more information on JIRA, see: http://www.atlassian.com/software/jira