/wro4j-core/src/main/java/ro/isdc/wro/model/resource/processor/impl/css/CssUrlRewritingProcessor.java
final RewriterContext rewriterContext = new RewriterContext( ).setAggregatedFolderPath( context.getAggregatedFolderPath( ) ).setProxyPrefix( getUrlPrefix( ) ) .getContextPath( ) ;
final RewriterContext rewriterContext = new RewriterContext ( ) .setAggregatedFolderPath ( context.getAggregatedFolderPath ( ) ) .setProxyPrefix ( getUrlPrefix ( ) ) .setContextPath ( contextPath ) ;
((MutableResourceAuthorizationManager) authorizationManager).add(allowedUrl); } } @Override protected String replaceImageUrl(final String cssUri, final String imageUrl) { final String contextPath = context.getRequest() != null ? context.getRequest().getContextPath() : null; <extra_id_0> return new ImageUrlRewriter(rewriterContext).rewrite(cssUri, imageUrl); } public final boolean isUriAllowed(final String uri) { return authorizationManager.isAuthorized(uri); } @Override