Skip to content

Commit

Permalink
Updated CORS
Browse files Browse the repository at this point in the history
  • Loading branch information
CamSoper committed Jun 15, 2016
1 parent 370a94a commit 8ecf23e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion articles/cdn/cdn-cors.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ In this case, you'll create a regular expression that includes all of the origin

> [AZURE.TIP] **Azure CDN from Verizon** uses [Perl Compatible Regular Expressions](http://pcre.org/) as its engine for regular expressions. You can use a tool like [Regular Expressions 101](https://regex101.com/) to validate your regular expression. Note that the "/" character is valid in regular expressions and doesn't need to be escaped, however, escaping that character is considered a best practice and is expected by some regex validators.
If the regular expression matches, the CDN edge your rule will replace the **Access-Control-Allow-Origin** header (if any) from the origin with the origin that sent the request. You can also add additional CORS headers, such as **Access-Control-Allow-Methods**.
If the regular expression matches, your rule will replace the **Access-Control-Allow-Origin** header (if any) from the origin with the origin that sent the request. You can also add additional CORS headers, such as **Access-Control-Allow-Methods**.

![Rules example with regular expression](./media/cdn-cors/cdn-cors-regex.png)

Expand Down

0 comments on commit 8ecf23e

Please sign in to comment.