Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Adobe-valid MIME type for crossdomain.xml #118

Merged
merged 2 commits into from
Nov 13, 2013

Conversation

doubleyou
Copy link
Member

http://www.adobe.com/devnet-docs/acrobatetk/tools/AppSec/xdomain.html

We are actually using the same content-type inside the ad server.

"crossdomain.xml" ->
"text/x-cross-domain-policy";
_ ->
case mochiweb_mime:from_extension(filename:extension(File)) of
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why not bind filename:basename(File) to a variable and use that here? It would allow filename:extension/1 to do a little less work

@doubleyou
Copy link
Member Author

Good point, thanks!

@etrepum
Copy link
Member

etrepum commented Nov 13, 2013

👍

etrepum added a commit that referenced this pull request Nov 13, 2013
Adobe-valid MIME type for crossdomain.xml
@etrepum etrepum merged commit 31efc60 into mochi:master Nov 13, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants