Skip to content

Commit

Permalink
Revert "Adds SassResourceUrlSanitizer to recognize variants in the URL (
Browse files Browse the repository at this point in the history
#1182)"

This is not building with Wicket 10.3.0

This reverts commit 05ffe8a.
  • Loading branch information
martin-g committed Dec 31, 2024
1 parent ab9f6c5 commit 0c9578e
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 35 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
import org.apache.wicket.markup.html.IPackageResourceGuard;
import org.apache.wicket.markup.html.SecurePackageResourceGuard;
import org.apache.wicket.request.resource.IResourceReferenceFactory;
import org.apache.wicket.request.resource.IResourceUrlSanitizer;
import org.apache.wicket.request.resource.ResourceReferenceRegistry;

/**
Expand Down Expand Up @@ -40,10 +39,6 @@ public static void install(final Application app, final SassCompilerOptionsFacto
ResourceReferenceRegistry resourceReferenceRegistry = app.getResourceReferenceRegistry();
IResourceReferenceFactory delegate = resourceReferenceRegistry.getResourceReferenceFactory();
resourceReferenceRegistry.setResourceReferenceFactory(new SassResourceReferenceFactory(delegate));

IResourceUrlSanitizer sanitizer = app.getResourceSettings().getUrlSanitizer();
SassResourceUrlSanitizer sassSanitizer = new SassResourceUrlSanitizer(sanitizer);
app.getResourceSettings().setUrlSanitizer(sassSanitizer);
}

/**
Expand Down

This file was deleted.

0 comments on commit 0c9578e

Please sign in to comment.