Re: Cookie Parsing Issue

Philip Aston <[email protected]> Mon, 17 Jun 2013 21:31:59 +0100
Newsgroups gmane.comp.java.grinder.devel
Message-ID <[email protected]>
This is a multi-part message in MIME format.
--===============3649196665496438133==
Content-Type: multipart/alternative;
	boundary="------------020801070206080603020301"

This is a multi-part message in MIME format.
--------------020801070206080603020301
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 7bit

On 10/06/13 12:23, Dr Chris Barran wrote:
>
> The Cookie.parse method seems to be  mangling this perfectly valid cookie.
> Set-Cookie:
> nap.sid=s%3Ams3rfahjl9mCHmula5U1vv9H.sJGkzJojCliyoDUJgDNv30rjC0CqoRvVqaa%2B3j4z0V8;
> Path=/nap; HttpOnly; Secure
>
> And turning it into
> Set-Cookie:
> nap.sid=s%3AEz2JzmmKmISynN7nPujVwjO%2B.gxgOhA6ovhajiWRe8RZ9UHUKzjcBw1hl5f16cjMQ44I;
> Path=/nap;, Secure
>
> Which it then announces is an Invalid cookie and exits.
>
> I'm trying to use version 3.11
>
> I raised a bug for it.
>

Thanks Chris. I don't have many cycles at the moment - hopefully I'll
triage this at the weekend.

> Also I'm trying to build the latest version to test / patch this issue
> as it looks like just some over zealous regexp but I'm getting build
> failures.
>
> Can't seem to build without running tests and some tests fail.  You
> don't seem to have a lot of documentation on how to set up a sane
> build environment.
>
> Any help appreciated.  what should this jython2_5_3.dir property be
> set to and where do I set it? 
>

Comment the property out of the maven-surefire-plugin configuration in
grinder-core/pom.xml, or fix it to point to a real 2.5.3 installation.

- Phil


--------------020801070206080603020301
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 10/06/13 12:23, Dr Chris Barran
      wrote:<br>
    </div>
    <blockquote
cite="mid:CAD3bevw2re2MZCmcdVry-2pUVsAo82xMoEXvn3BBVvNozuuajQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org"
      type="cite">
      <div dir="ltr">
        <p style="font-size:13px;margin:0px;padding:0px 10px
1em;border:0px;outline:0px;vertical-align:baseline;color:rgb(85,85,85);font-family:sans-serif;line-height:18px">The
          Cookie.parse method seems to be  mangling this perfectly valid
          cookie.<br>
          Set-Cookie:
          nap.sid=s%3Ams3rfahjl9mCHmula5U1vv9H.sJGkzJojCliyoDUJgDNv30rjC0CqoRvVqaa%2B3j4z0V8;
          Path=/nap; HttpOnly; Secure</p>
        <p style="font-size:13px;margin:0px;padding:0px 10px
1em;border:0px;outline:0px;vertical-align:baseline;color:rgb(85,85,85);font-family:sans-serif;line-height:18px">And
          turning it into<br>
          Set-Cookie:
          nap.sid=s%3AEz2JzmmKmISynN7nPujVwjO%2B.gxgOhA6ovhajiWRe8RZ9UHUKzjcBw1hl5f16cjMQ44I;
          Path=/nap;, Secure</p>
        <p style="font-size:13px;margin:0px;padding:0px 10px
1em;border:0px;outline:0px;vertical-align:baseline;color:rgb(85,85,85);font-family:sans-serif;line-height:18px">Which
          it then announces is an Invalid cookie and exits.</p>
        <p style="font-size:13px;margin:0px;padding:0px 10px
1em;border:0px;outline:0px;vertical-align:baseline;color:rgb(85,85,85);font-family:sans-serif;line-height:18px">I'm
          trying to use version 3.11</p>
        <p style="font-size:13px;margin:0px;padding:0px 10px
1em;border:0px;outline:0px;vertical-align:baseline;color:rgb(85,85,85);font-family:sans-serif;line-height:18px">I
          raised a bug for it.</p>
      </div>
    </blockquote>
    <br>
    Thanks Chris. I don't have many cycles at the moment - hopefully
    I'll triage this at the weekend.<br>
    <br>
    <blockquote
cite="mid:CAD3bevw2re2MZCmcdVry-2pUVsAo82xMoEXvn3BBVvNozuuajQ-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org"
      type="cite">
      <div dir="ltr">
        <p style="font-size:13px;margin:0px;padding:0px 10px
1em;border:0px;outline:0px;vertical-align:baseline;color:rgb(85,85,85);font-family:sans-serif;line-height:18px">Also
          I'm trying to build the latest version to test / patch this
          issue as it looks like just some over zealous regexp but I'm
          getting build failures.</p>
        <p style="font-size:13px;margin:0px;padding:0px 10px
1em;border:0px;outline:0px;vertical-align:baseline;color:rgb(85,85,85);font-family:sans-serif;line-height:18px">Can't
          seem to build without running tests and some tests fail.  You
          don't seem to have a lot of documentation on how to set up a
          sane build environment.</p>
        <p style="font-size:13px;margin:0px;padding:0px 10px
1em;border:0px;outline:0px;vertical-align:baseline;color:rgb(85,85,85);font-family:sans-serif;line-height:18px">Any
          help appreciated.  what should this <span
            style="font-size:small">jython2_5_3.dir property be set to
            and where do I set it?</span><span style="font-size:small"> 
            <br>
          </span></p>
      </div>
    </blockquote>
    <br>
    Comment the property out of the maven-surefire-plugin configuration
    in grinder-core/pom.xml, or fix it to point to a real 2.5.3
    installation.<br>
    <br>
    - Phil<br>
    <br>
  </body>
</html>

--------------020801070206080603020301--


--===============3649196665496438133==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

------------------------------------------------------------------------------
This SF.net email is sponsored by Windows:

Build for Windows Store.

http://p.sf.net/sfu/windows-dev2dev
--===============3649196665496438133==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Grinder-development mailing list
Grinder-development-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
https://lists.sourceforge.net/lists/listinfo/grinder-development

--===============3649196665496438133==--