You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@couchdb.apache.org by "Dale Harvey (JIRA)" <ji...@apache.org> on 2011/05/11 01:45:47 UTC

[jira] [Created] (COUCHDB-1156) Futon shows apache license when performing unauthorised operations

Futon shows apache license when performing unauthorised operations
------------------------------------------------------------------

                 Key: COUCHDB-1156
                 URL: https://issues.apache.org/jira/browse/COUCHDB-1156
             Project: CouchDB
          Issue Type: Bug
          Components: Futon
            Reporter: Dale Harvey
            Priority: Minor
         Attachments: accept-json.patch

If you create / delete a database you are not allowed to, futon will make an extra request and show the code to the index page in a dialog as the request is forwarded to a login page, this is because jquery.couch.js doesnt specify the accept headers so couchdb assumed the request is being made from a using in the browser and not a http client

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Resolved] (COUCHDB-1156) Futon shows apache license when performing unauthorised operations

Posted by "Robert Newson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Newson resolved COUCHDB-1156.
------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.2
         Assignee: Robert Newson

Thanks Dale. I had half-fixed this earlier but this completes the job.

> Futon shows apache license when performing unauthorised operations
> ------------------------------------------------------------------
>
>                 Key: COUCHDB-1156
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1156
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Futon
>            Reporter: Dale Harvey
>            Assignee: Robert Newson
>            Priority: Minor
>             Fix For: 1.2
>
>         Attachments: accept-json.patch
>
>
> If you create / delete a database you are not allowed to, futon will make an extra request and show the code to the index page in a dialog as the request is forwarded to a login page, this is because jquery.couch.js doesnt specify the accept headers so couchdb assumed the request is being made from a using in the browser and not a http client

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (COUCHDB-1156) Futon shows apache license when performing unauthorised operations

Posted by "Dale Harvey (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Dale Harvey updated COUCHDB-1156:
---------------------------------

    Attachment: accept-json.patch

> Futon shows apache license when performing unauthorised operations
> ------------------------------------------------------------------
>
>                 Key: COUCHDB-1156
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1156
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Futon
>            Reporter: Dale Harvey
>            Priority: Minor
>         Attachments: accept-json.patch
>
>
> If you create / delete a database you are not allowed to, futon will make an extra request and show the code to the index page in a dialog as the request is forwarded to a login page, this is because jquery.couch.js doesnt specify the accept headers so couchdb assumed the request is being made from a using in the browser and not a http client

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Updated] (COUCHDB-1156) Futon shows apache license when performing unauthorised operations

Posted by "Robert Newson (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/COUCHDB-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Newson updated COUCHDB-1156:
-----------------------------------

    Fix Version/s: 1.1

Backported to 1.1.x in r1126411

> Futon shows apache license when performing unauthorised operations
> ------------------------------------------------------------------
>
>                 Key: COUCHDB-1156
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1156
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Futon
>            Reporter: Dale Harvey
>            Assignee: Robert Newson
>            Priority: Minor
>             Fix For: 1.1, 1.2
>
>         Attachments: accept-json.patch
>
>
> If you create / delete a database you are not allowed to, futon will make an extra request and show the code to the index page in a dialog as the request is forwarded to a login page, this is because jquery.couch.js doesnt specify the accept headers so couchdb assumed the request is being made from a using in the browser and not a http client

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

[jira] [Commented] (COUCHDB-1156) Futon shows apache license when performing unauthorised operations

Posted by "Dale Harvey (JIRA)" <ji...@apache.org>.
    [ https://issues.apache.org/jira/browse/COUCHDB-1156?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13031480#comment-13031480 ] 

Dale Harvey commented on COUCHDB-1156:
--------------------------------------

A screenshot of the issue 

http://dropup.net/4hwjez-71c54c.png.html

> Futon shows apache license when performing unauthorised operations
> ------------------------------------------------------------------
>
>                 Key: COUCHDB-1156
>                 URL: https://issues.apache.org/jira/browse/COUCHDB-1156
>             Project: CouchDB
>          Issue Type: Bug
>          Components: Futon
>            Reporter: Dale Harvey
>            Priority: Minor
>         Attachments: accept-json.patch
>
>
> If you create / delete a database you are not allowed to, futon will make an extra request and show the code to the index page in a dialog as the request is forwarded to a login page, this is because jquery.couch.js doesnt specify the accept headers so couchdb assumed the request is being made from a using in the browser and not a http client

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira