Skip to content

Extend Access-Control-Allow-Headers for crossDomain Requests #128

Closed
@marbetschar

Description

@marbetschar

I've run into some issues by using jQuery for login purposes in a Cross Domain scenario. After extending the Access-Control-Allow-Headers in the Taffy core the issues went away. Can you please add the modification the the official release?
I've done the following changes on line 238:

<cfif application._taffy.settings.allowCrossDomain>
    <cfheader name="Access-Control-Allow-Origin" value="*" />
    <cfheader name="Access-Control-Allow-Methods" value="#local.allowVerbs#" />
    <cfheader name="Access-Control-Allow-Headers" value="Origin, Authorization, X-Requested-With, Content-Type" />
</cfif>

Activity

added a commit that references this issue on Mar 11, 2013

Resolves #128, add ALLOW for additional common headers

a3dec1c
atuttle

atuttle commented on Mar 11, 2013

@atuttle
Owner

Done, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @atuttle@marbetschar

        Issue actions

          Extend Access-Control-Allow-Headers for crossDomain Requests · Issue #128 · atuttle/Taffy