Uploaded image for project: 'CouchDB'
  1. CouchDB
  2. COUCHDB-668

Futon storage is broken for localhost and other "short" domain names

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 0.11
    • 0.11
    • Futon
    • None
    • Linux (Ubuntu 9.10), Chromium/Firefox/Opera

    Description

      Futon's Storage does not save cookies when accessing a Futon on localhost.

      Storage's cookie handler now includes the domain name in the cookie args. That doesn't work for localhost, and I can't think of a reason why Futon would ever need to explicitly set the domain anyway.

      Removing the domain arg from the cookie fixes the problem on all tested browsers. I haven't been able to test on IE to see if it still works there.

      Patch attached.

      Attachments

        1. futon-cookie-domain.diff
          0.9 kB
          Matt Goodall

        Activity

          People

            cmlenz Christopher Lenz
            emgee Matt Goodall
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: