Chromium Code Reviews| Index: components/safe_browsing/csd.proto |
| diff --git a/components/safe_browsing/csd.proto b/components/safe_browsing/csd.proto |
| index 3da6cd68b6910c2aa23409cb029644c8104017da..b8e12a48751bf3671cc607e66ec2875465c1a9b4 100644 |
| --- a/components/safe_browsing/csd.proto |
| +++ b/components/safe_browsing/csd.proto |
| @@ -247,6 +247,19 @@ message LoginReputationClientResponse { |
| // The pattern will always match the page_url of the request, and will be |
| // a substring of page_url. |
| optional string cache_expression = 3; |
| + |
| + // If set true, we match target URL with cache expression up to both of their |
| + // last /'s. |
| + // |
| + // Examples: |
| + // If set true, a cache_expression "foo.com/bar" will match |
| + // "foo.com/bar", |
| + // "foo.com/bar/bar.cgi", |
| + // "foo.com/bar/login.html?param=val", |
| + // but will NOT match |
| + // "foo.com/abc/", |
| + // "foo.com/bar/abc/edf.cgi" |
|
vakh (use Gerrit instead)
2017/03/20 18:36:00
Can you also make it explicit that it won't match
Jialiu Lin
2017/03/20 19:05:54
Sure. Done.
|
| + optional bool cache_expression_exact_match = 4; |
| } |
| message ClientMalwareResponse { |