Skip to content

Origins with Port 80 #638

@nambad

Description

@nambad

When serving the html file from a localhost or apache server and also giving origins it gives error for illegal origin
I realized that in the concept of origins, http://localhost is not equal to http://localhost:80
When using apache server to serve the file, ports part of the origins parameter is empty which according to me should be 80. So to set it, i changed the code and added a pull request

Related to Pull request
#633

As einaros said, i opened this issue for a better solution the above problem

http://i44.tinypic.com/2h4cgpe.jpg

Reproducible code:
https://gist.github.com/1363426
Please see the comments sections

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions