CryptoMapper encrypts links to resources with URLs of the form:
Additionally there might be some inconsistencies in handling URLs in instances of ResourceReference.
public void renderHead(IHeaderResponse response)
UrlResourceReference reference = new UrlResourceReference(Url.parse("http://domain/path/script.js"));
Ways to reproduce:
- disable encryption for URLs beginning with '/', '<schema>://' and '//' and not served/filtered by Wicket
- define different reference classes for external files and files served/filtered by Wicket, issue warnings when a wrong URL type is supplied by the user or treat URLs beginning with '/', '<schema>://' and '//' differently