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