Commit df9009e5 authored by Theodore Dubois's avatar Theodore Dubois Committed by Commit Bot

Mention in the DNR docs that ||* is not allowed in a URL pattern

Bug: 696822
Change-Id: I5dff25148585cbe97a6dae5569f099679e52f618
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1919827Reviewed-by: default avatarKaran Bhatia <karandeepb@chromium.org>
Commit-Queue: Karan Bhatia <karandeepb@chromium.org>
Auto-Submit: Theodore Dubois <tbodt@google.com>
Cr-Commit-Position: refs/heads/master@{#715982}
parent 2fb228fe
...@@ -134,6 +134,9 @@ namespace declarativeNetRequest { ...@@ -134,6 +134,9 @@ namespace declarativeNetRequest {
// //
// If omitted, all urls are matched. An empty string is not allowed. // If omitted, all urls are matched. An empty string is not allowed.
// //
// A pattern beginning with <code>||*</code> is not allowed. Use
// <code>*</code> instead.
//
// Note: The <code>urlFilter</code> must be composed of only ASCII // Note: The <code>urlFilter</code> must be composed of only ASCII
// characters. This is matched against a url where the host is encoded in // characters. This is matched against a url where the host is encoded in
// the punycode format (in case of internationalized domains) and any other // the punycode format (in case of internationalized domains) and any other
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment