Skip to content
This repository has been archived by the owner on May 5, 2020. It is now read-only.

Do not reply with Allow-Origin '*' for null Origin #30

Open
g-p-g opened this issue Aug 22, 2015 · 3 comments
Open

Do not reply with Allow-Origin '*' for null Origin #30

g-p-g opened this issue Aug 22, 2015 · 3 comments

Comments

@g-p-g
Copy link

g-p-g commented Aug 22, 2015

See issue sockjs/sockjs-node#177

factory.py should be modified similarly to:

   ...
    def setBaseHeaders(self, request, cookie=True):
        origin = request.getHeader("Origin")
        headers = request.getHeader('Access-Control-Request-Headers')
        if origin is None: #or origin == "null":
            origin = "*"
   ...
@ghost
Copy link

ghost commented Sep 16, 2015

I have this problem too, @DesertBus please fix issue.

@Lir10
Copy link

Lir10 commented Jan 31, 2016

+1 for fixing

@luxaritas
Copy link

+1, would like to be able to run my app without serving

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

No branches or pull requests

3 participants