httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject [Bug 55981] mod_mbox hang on some e-mails on user@openoffice.a.o - see INFRA-7171
Date Thu, 09 Jan 2014 21:18:25 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=55981

--- Comment #9 from Rainer Jung <rainer.jung@kippdata.de> ---
(In reply to Sebb from comment #8)
> (In reply to Sebb from comment #5)
> > NOte, when I use JMeter to download the ajax link, I see:
> > 
> > 
> > <mail id="%3c!&amp%3b!AAAAAAAA
> > 
> > That does not look correct.

I changed the ampersand encoding to happen after uri encoding. But for me the
links look different than for you. Using curl:

Retrieving the URL

http://mail-archives.eu.apache.org/mod_mbox/openoffice-users/201401.mbox/ajax/thread?0

the broken message shows up as

 <message linked="1" depth="1"
id="&lt;!&amp;!AAAAAAAAAAAuAAAAAAAAAK00G0t+umtIpgYl2WFMbwIBAGAfOzqGVtxCl8C3TALrx8YAAAAABWoAABAAAAAw8iQIDe+DSKAwYSmFc9yuAQAAAAA=@gmail.com&gt;">
  <from><![CDATA[Think]]></from>
  <date><![CDATA[Mon, 06 Jan, 04:47]]></date>
  <subject><![CDATA[RE: Folks seeking help]]></subject>
 </message>

and the one working directly before is

 <message linked="1" depth="0"
id="&lt;CAH5WxYMV0Z4+V_D8HjkMGQSQwNYHnp=nc7CwWq_ZSJkDciosWA@mail.gmail.com&gt;">
  <from><![CDATA[Timothy Wulf]]></from>
  <date><![CDATA[Mon, 06 Jan, 03:43]]></date>
  <subject><![CDATA[Folks seeking help]]></subject>
 </message>


> The updated code seems to replace "&" with "&amp;" and then subject the
> result to uri encoding (whatever that is).

I switched to first uri encoding, then ampersand.

> However, not all of the locations where the msgId is used are URIs.
> The ajax response which was causing the problem is a quoted value in an XML
> document. Maybe it would be sufficient to just fix the value so it does not
> contain a bare ampersand? Are there any other values that need to be encoded?

I could try, but the only other encoded chars in the example above are "<" and
">" which are also encoded in the working message ids.

> Alternatively, fix the & after the URI encoding.

Done.

> May I suggest starting with just fixing the ajax output in the msgID value?

What do you mean by this "ajax output in the msgID value"?

Regards,

Rainer

-- 
You are receiving this mail because:
You are the assignee for the bug.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


Mime
View raw message