Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Simple filter which prevents access to URLs based on allowed selectors, ... #438

Merged

Conversation

justinedelson
Copy link
Contributor

...extensions, or suffixes.

Based on https://github.com/justinedelson/cq-urlfilter

private static final Collection<String> PROPERTY_NAMES = Arrays.asList(PN_ALLOWED_SUFFIXES, PN_ALLOWED_EXTENSIONS,
PN_ALLOWED_SELECTORS, PN_ALLOWED_SUFFIX_PATTERN, PN_ALLOWED_SELECTOR_PATTERN, PN_ALLOWED_EXTENSION_PATTERN);

private static final Logger logger = LoggerFactory.getLogger(UrlFilter.class);
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

logger to log?

@justinedelson
Copy link
Contributor Author

fixed logger name

justinedelson added a commit that referenced this pull request Apr 15, 2015
Simple filter which prevents access to URLs based on allowed selectors, ...
@justinedelson justinedelson merged commit 767204d into Adobe-Consulting-Services:master Apr 15, 2015
@justinedelson justinedelson added this to the 1.10.0 milestone Apr 15, 2015
@justinedelson justinedelson self-assigned this Apr 15, 2015
@justinedelson justinedelson deleted the feature/urlfilter branch May 7, 2015 17:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants