Skip to content

Commit d1bacc8

Browse files
author
Hubot
committed
Sync changes from upstream repository
1 parent 85df1e5 commit d1bacc8

1 file changed

Lines changed: 37 additions & 0 deletions

File tree

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
---
2+
kind: change
3+
title: New user content domains
4+
created_at: 2014-04-25
5+
author_name: azizshamim
6+
---
7+
8+
## Securing your content
9+
10+
The [GitHub Bug Bounty program](https://bounty.github.com) recently identified a few cross-domain vulnerabilities related to user-generated content, and we've shipped improvements today to address those issues.
11+
12+
In order to better isolate your content from potentially malicious content uploaded by other users (e.g., content that might contain Cross-Site Scripting or other embedded attacks), we now serve user-generated content from subdomains of **githubusercontent.com**. This content is no longer served from subdomains of **github.com**.
13+
14+
## What's affected?
15+
16+
This change affects the following subdomains:
17+
18+
* **raw.github.com** : Serves raw file content from your repository.
19+
* **embed.github.com** : Allows users to embed rich GitHub content on other sites.
20+
* **render.github.com** : Displays rich content on GitHub.com.
21+
* **f.cloud.github.com** : Hosts all those amazing gifs you use in Pull Requests and Issues.
22+
23+
Content formerly served by these subdomains is now served from subdomains of **githubusercontent.com**.
24+
25+
## Older links
26+
27+
If you have old links to this content, don't worry: as of today, we're forcing the old domains to redirect to the new domains. Your existing links should continue to work automatically in your browser. If you're using a URL from Gist or GitHub to directly access user-generated content via `curl`, `wget`, or a library (like [HTTParty](https://github.com/jnunemaker/httparty)), be sure to configure that tool to follow the redirect.
28+
29+
## Your proxies or filters
30+
31+
Some security systems (web proxies, for example) may not recognize the **githubusercontent.com** domain. In those cases, you may need update your proxies and security software accordingly.
32+
33+
As always, if you have any questions, please [get in touch][contact].
34+
35+
*Happy and safe GitHubbing!*
36+
37+
[contact]: https://github.com/contact?form[subject]=Changes+to+user+content+domains

0 commit comments

Comments
 (0)