You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@couchdb.apache.org by robertkowalski <gi...@git.apache.org> on 2015/11/16 16:06:20 UTC

[GitHub] couchdb-fauxton pull request: fix cors validation for hosts with n...

GitHub user robertkowalski opened a pull request:

    https://github.com/apache/couchdb-fauxton/pull/576

    fix cors validation for hosts with no tld

     - allow ips and things like: http://localhost:3000
     - normalize urls in case a path is given by removing the path
    
    note:
    
    in general the validation should be done in the backend as single
    source of truth so that api users and fauxton users get the same
    results and also the interfaces are consistent.

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/robertkowalski/couchdb-fauxton cors-validation

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/couchdb-fauxton/pull/576.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #576
    
----
commit f91be90aff912d38fd9cd45e6ef1a535f8b0da55
Author: Robert Kowalski <ro...@apache.org>
Date:   2015-11-16T13:40:30Z

    fix cors validation for hosts with no tld
    
     - allow ips and things like: http://localhost:3000
     - normalize urls in case a path is given by removing the path
    
    note:
    
    in general the validation should be done in the backend as single
    source of truth so that api users and fauxton users get the same
    results and also the interfaces are consistent.

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: fix cors validation for hosts with n...

Posted by benkeen <gi...@git.apache.org>.
Github user benkeen commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/576#issuecomment-157075371
  
    Looks good. +1


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: fix cors validation for hosts with n...

Posted by robertkowalski <gi...@git.apache.org>.
Github user robertkowalski closed the pull request at:

    https://github.com/apache/couchdb-fauxton/pull/576


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---

[GitHub] couchdb-fauxton pull request: fix cors validation for hosts with n...

Posted by robertkowalski <gi...@git.apache.org>.
Github user robertkowalski commented on the pull request:

    https://github.com/apache/couchdb-fauxton/pull/576#issuecomment-157090199
  
    merged as 8588ef7cc55bfa7a02664d6f6670275c986bb63a


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at infrastructure@apache.org or file a JIRA ticket
with INFRA.
---