Class ValidUrlRule

java.lang.Object
org.eclipse.jetty.rewrite.handler.Rule
org.eclipse.jetty.rewrite.handler.ValidUrlRule

public class ValidUrlRule extends Rule
This rule can be used to protect against invalid unicode characters in a url making it into applications.

The logic is as follows.

  • if decoded uri character is an iso control character return code/reason
  • if no UnicodeBlock is found for character return code/reason
  • if character is in UnicodeBlock.SPECIALS return code/reason