diff --git a/doc-src/filters.html b/doc-src/filters.html index b5e3ebf8a..2424c6f8e 100644 --- a/doc-src/filters.html +++ b/doc-src/filters.html @@ -26,9 +26,9 @@ URL containing "google.com": Requests whose body contains the string "test": - ~r ~b test + ~q ~b test Anything but requests with a text/html content type: - !(~r & ~t \"text/html\") + !(~q & ~t \"text/html\") diff --git a/libmproxy/console.py b/libmproxy/console.py index 337cd243b..fb1a2ed07 100644 --- a/libmproxy/console.py +++ b/libmproxy/console.py @@ -1499,8 +1499,8 @@ class ConsoleMaster(flow.FlowMaster): ) examples = [ ("google\.com", "Url containing \"google.com"), - ("~r ~b test", "Requests where body contains \"test\""), - ("!(~r & ~t \"text/html\")", "Anything but requests with a text/html content type."), + ("~q ~b test", "Requests where body contains \"test\""), + ("!(~q & ~t \"text/html\")", "Anything but requests with a text/html content type."), ] text.extend(format_keyvals(examples, key="key", val="text", indent=4)) return urwid.ListBox([urwid.Text(text)])