From b13e128ca687bc0c5fb0b32c7afb1000d6212a1e Mon Sep 17 00:00:00 2001 From: Einar Egilsson Date: Mon, 22 Feb 2016 10:26:35 +0000 Subject: Update help file and version number --- help.html | 45 ++++++++++++++++++++++++++++++--------------- 1 file changed, 30 insertions(+), 15 deletions(-) (limited to 'help.html') diff --git a/help.html b/help.html index f96375b..760aa50 100644 --- a/help.html +++ b/help.html @@ -20,8 +20,14 @@
  • Exclude pattern
  • Redirect to
  • Pattern type
  • -
  • Unescape matches
  • -
  • Escape matches
  • +
  • Process Matches +
      +
    1. No Processing
    2. +
    3. URL decode matches
    4. +
    5. URL encode matches
    6. +
    7. Base64 decode matches
    8. +
    +
  • Apply to
  • @@ -83,19 +89,28 @@
  • Pattern type: This specifies how Redirector should interpret the patterns, either as wildcards or regular expressions.
  • -
  • Unescape matches: A common usage of Redirector is to catch urls like - http://foo.com/redirect.php?url=http%3A%2F%2Fbar%2Ecom%2Fpath and try to catch the url parameter and redirect to it. A pattern - like http://foo.com/redirect.php?url=* might be used for that purpose. However, if the url parameter is escaped (also known - as urlencoded) then that won't work. In the url above we see that it starts with http%3A%2F%2F instead of http://, and Firefox - won't accept this as a new url to redirect to. So, in cases like these you can check the Unescape matches option and then all - matches will be unescaped (turned from e.g. http%3A%2F%2Fbar%2Ecom to http://bar.com) before being inserted into the target url. -
  • - -
  • Escape matches: The opposite of Unescape matches. Let's say you want to redirect all requests to - a domain like http://example.com to some proxy site that took the url to proxy as an url parameter. Then you might do something like the regular expression pattern - ^(http://example\.com/.*) and redirect it to http://proxysite.com?url=$1. If you used the Escape matches option then the - final url would become http://proxysite.com?url=http%3A%2F%2Fexample.com%2Ffoo%2Fbar. -
  • +
  • Process Matches: In some cases parameters in urls are encoded in different ways. The Process Matches option allows you to select a few + different ways to process the Regular expression matches before using them. The decoding options available are: + +
  • Apply to: The Apply to option is new in version 3.0 of Redirector. For 99% of cases you won't need this, so don't worry about it. By default Redirector only redirects requests from the address bar of your browser, the page you're viewing. It doesn't redirect requests for scripts, iframes, images -- cgit v1.2.3