Skip to content
This repository has been archived by the owner on Dec 23, 2017. It is now read-only.

Allow cross-origin requests to feedback endpoint. #891

Merged
merged 1 commit into from
Oct 26, 2015

Conversation

jmcarp
Copy link
Contributor

@jmcarp jmcarp commented Oct 23, 2015

Necessary for feedback submission via the CMS application. Going
forward, we may want to restrict the origin to beta.fec.gov, but this is
fine for now. This becomes moot if the feedback widget is exported to a
separate application.

Required for https://github.com/18F/fec-cms/pull/98.

cc @LindsayYoung @noahmanger

Necessary for feedback submission via the CMS application. Going
forward, we may want to restrict the origin to beta.fec.gov, but this is
fine for now. This becomes moot if the feedback widget is exported to a
separate application.
@noahmanger
Copy link
Contributor

Is there a way to test this?

@jmcarp
Copy link
Contributor Author

jmcarp commented Oct 24, 2015

Yep--submitting feedback issues from the CMS shouldn't work without this patch.

LindsayYoung added a commit that referenced this pull request Oct 26, 2015
Allow cross-origin requests to feedback endpoint.
@LindsayYoung LindsayYoung merged commit fbf9a4a into fecgov:develop Oct 26, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants