Skip to content

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

@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>

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions