Created
July 24, 2017 00:23
-
-
Save with-heart/ea90127c2fceeaca53eb40592d19a94f to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
override fun shouldFilter(): Boolean { | |
val ctx = RequestContext.getCurrentContext() | |
val params = ctx.requestQueryParams ?: return false | |
val encrypted = params["encryptedValue"] ?: return false | |
return encryptedStringRegex.matches(encrypted[0]) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment