src/main/java/org/owasp/url/FragmentClassifierBuilder.java
public FragmentClassifierBuilder matchAsUrl(UrlClassifier p) {
    this.asRelativeUrlPred = this.asRelativeUrlPred == null
        ? p
        : UrlClassifiers.or(this.asRelativeUrlPred, p);
    return this;
  }
/**
   * It's not uncommon for single-page applications to embed a path in a query.
   * URLs will match when there is a fragment whose content (sans "#") parses
   * as a relative URL that matches p in the context of
   * http://[special-unkown-host]/
   *
   * <p>By "relative," we mean not absolute per RFC 3986.  An absolute path is
   * still a relative URL by this scheme since it specifies no scheme.
   *
   * <p>This requires that the fragment will be present, so to allow
   * no fragment OR the fragments described above, use FragmentClassifier.or(...).
   */
It's not uncommon for single-page applications to embed a path in a query.
URLs will match when there is a fragment whose content (sans "#") parses
as a relative URL that matches p in the context of
http://[special-unkown-host]

By "relative," we mean not absolute per RFC 3986.  An absolute path is
still a relative URL by this scheme since it specifies no scheme.

This requires that the fragment will be present, so to allow
no fragment OR the fragments described above, use FragmentClassifier.or(...).
It ' s not uncommon for single - page applications to embed a path in a query . URLs will match when there is a fragment whose content ( sans " # " ) parses as a relative URL that matches p in the context of http : // [ special - unkown - host ] By " relative " we mean not absolute per RFC 3986 . An absolute path is still a relative URL by this scheme since it specifies no scheme . This requires that the fragment will be present so to allow no fragment OR the fragments described above use FragmentClassifier . or ( ... ) .
public FragmentClassifierBuilder matchAsUrl(UrlClassifier p) {
    this.asRelativeUrlPred = this.asRelativeUrlPred == null
        ? p
        : UrlClassifiers.or(this.asRelativeUrlPred, p);
    return this;
  }
public FragmentClassifierBuilder matchAsUrl ( UrlClassifier p ) { this . asRelativeUrlPred = this . asRelativeUrlPred == null ? p : UrlClassifiers . or ( this . asRelativeUrlPred , p ) ; return this ; }
It's not uncommon for single-page applications to embed a path in a query.
It ' s not uncommon for single - page applications to embed a path in a query .