Uploaded image for project: 'ManifoldCF'
  1. ManifoldCF
  2. CONNECTORS-97

Web connector session authentication fails for some sites due to cookies httpclient says are illegal, but browsers accept

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • ManifoldCF 0.1
    • Web connector
    • None

    Description

      While trying to set up session authentication for the site http://www.ppdm.org, I ran into authentication problems that resulted from httpclient rejecting cookies:

      Cookie rejected: "ppdm_forum_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A0%3A%22%22%3Bs%3A6%3A%22userid%22%3Bi%3A-1%3B%7D". Illegal path attribute "/forums". Path of origin: "/ba/login/login"
      Cookie rejected: "ppdm_forum_sid=338b5f5f0887ab4c2499948fc05daac8". Illegal path attribute "/forums". Path of origin: "/ba/login/login"
      Cookie rejected: "ppdm_forum_data=a%3A2%3A%7Bs%3A11%3A%22autologinid%22%3Bs%3A32%3A%2266a33ac80119bdcf7a1129f78de857a1%22%3Bs%3A6%3A%22userid%22%3Bs%3A4%3A%221346%22%3B%7D". Illegal path attribute "/forums". Path of origin: "/ba/login/login"
      Cookie rejected: "ppdm_forum_sid=3c36d20f96423b2de2d215a33b304e18". Illegal path attribute "/forums". Path of origin: "/ba/login/login"

      And yet, FireFox and IE have no trouble with these. I suspect that there must be a configuration setting for httpclient that will fix this problem - and if there isn't, we need to add one and set it appropriately in the web connector code.

      Attachments

        Activity

          People

            kwright@metacarta.com Karl Wright
            kwright@metacarta.com Karl Wright
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: