Fix minor readme typos for AddRedirect function sample. (#5301)

* Update README.md

* Update README.md
pull/5275/head^2
Adel Helal 2018-01-30 02:08:48 +11:00 committed by Scott Addie
parent fa24342f38
commit c22c092d9e
2 changed files with 2 additions and 2 deletions

View File

@ -6,7 +6,7 @@ When running the sample, a response will be served that shows the rewritten or r
## Examples in this sample ## Examples in this sample
* `AddRedirect("redirect-rule/(.*)", "$1")` * `AddRedirect("redirect-rule/(.*)", "redirected/$1")`
- Success status code: 302 (Found) - Success status code: 302 (Found)
- Example (redirect): **/redirect-rule/{capture_group}** to **/redirected/{capture_group}** - Example (redirect): **/redirect-rule/{capture_group}** to **/redirected/{capture_group}**
* `AddRewrite(@"^rewrite-rule/(\d+)/(\d+)", "rewritten?var1=$1&var2=$2", skipRemainingRules: true)` * `AddRewrite(@"^rewrite-rule/(\d+)/(\d+)", "rewritten?var1=$1&var2=$2", skipRemainingRules: true)`

View File

@ -6,7 +6,7 @@ When running the sample, a response will be served that shows the rewritten or r
## Examples in this sample ## Examples in this sample
* `AddRedirect("redirect-rule/(.*)", "$1")` * `AddRedirect("redirect-rule/(.*)", "redirected/$1")`
- Success status code: 302 (Found) - Success status code: 302 (Found)
- Example (redirect): **/redirect-rule/{capture_group}** to **/redirected/{capture_group}** - Example (redirect): **/redirect-rule/{capture_group}** to **/redirected/{capture_group}**
* `AddRewrite(@"^rewrite-rule/(\d+)/(\d+)", "rewritten?var1=$1&var2=$2", skipRemainingRules: true)` * `AddRewrite(@"^rewrite-rule/(\d+)/(\d+)", "rewritten?var1=$1&var2=$2", skipRemainingRules: true)`