You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "klcodanr (via GitHub)" <gi...@apache.org> on 2023/05/16 03:43:58 UTC

[GitHub] [sling-org-apache-sling-security] klcodanr commented on a diff in pull request #9: SLING-9061 - Adding support for evaluating the origin as well as the referrer and pluggable referrer configurations

klcodanr commented on code in PR #9:
URL: https://github.com/apache/sling-org-apache-sling-security/pull/9#discussion_r1194572478


##########
src/main/java/org/apache/sling/security/impl/ReferrerFilter.java:
##########
@@ -260,16 +264,32 @@ private Pattern[] createRegexPatterns(final String[] regexps) {
         return patterns.toArray(new Pattern[0]);
     }
 
+    private String[] mergeValues(String[] primary, List<ReferrerFilterAmendment> amendments,

Review Comment:
   Honestly, minimizing changes, but collections are fine or needed 4/5 times so it makes sense to change.



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@sling.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org