|
| UrlData (StringPiece in_scheme, StringPiece in_host, StringPiece in_port, StringPiece in_path, bool exact_match=false) |
| Constructor for tests, assumes already normalized.
|
|
GoogleString | DebugString () const |
|
bool | operator== (const UrlData &other) const |
| For convenience of unit testing.
|
|
GoogleString net_instaweb::CspSourceExpression::UrlData::scheme_part |
doesn't include :
All the components here are stored in a manner that matches the way GoogleUrl stores their corresponding portions, to make it easy to compare against incoming URLs: 1) The case-insensitive scheme and host portions are lowercased. 2) The case-sensitive path doesn't have its case changed, but the % escaping is normalized. We also pre-split it since we have to check per-component.
The documentation for this struct was generated from the following file:
- net/instaweb/rewriter/public/csp.h