[horde] Mail search: Request-URI Too Large
Oscar del Rio
delrio at mie.utoronto.ca
Wed Aug 14 21:59:09 UTC 2013
On 08/14/13 05:02 PM, Michael M Slusarz wrote:
> Quoting Oscar del Rio <delrio at mie.utoronto.ca>:
>
>> Anyone with Webmail 5.1.1, IMP 6.1.3 that can reproduce this bug?
>>
>> http://bugs.horde.org/ticket/12283
>>
>> - In Dynamic mode, go to Calendar or AddressBook (i.e any application
>> other than Mail)
>> - From the "Mail" menu, try "Search"
>>
>> The fatal error we get is
>> "Request-URI Too Large. The requested URL's length exceeds the
>> capacity limit for this server."
>>
>> The server logs
>> error: request failed: URI too long (longer than 8190)
>>
>> GET /imp/dynamic.php?page=mailbox (referrer /turba) followed
>> immediately by
>> GET
>> /imp/basic.php?0=S&1=U&2=5&3=C&4=T&5=1&6=g&page=search&gsub=function+gsub(pattern%2C+replacement)+%7B%0D%0A++++var+result+%3D+%27%27%2C+source+%3D+this%2C+match%3B%0D%0A++++replacement+%3D+prepareReplacement(replacement)%3B%0D%0A%0D%0A++++if+(Object.isString(pattern))%0D%0A++++++pattern+%3D+RegExp.escape(pattern)%3B%0D%0A%0D%0A++++
>> (etc... a huge URL of javascript code)
>
> It's still this:
> http://bugs.horde.org/ticket/12283
>
> And I can't reproduce. As mentioned in that ticket:
>
> "The javascript code appears to be from prototype.js. But I have no
> idea how it is getting there."
>
> You will have to trace on your system why this is happening.
I was hoping someone else sees the same, to find some common ground
where to start debugging.
Actually, I just checked Horde's Demo site http://demo.horde.org
(guest/guest)
When I try to reproduce it there (kronolith -> Mail-Search), I do not
get the server error, but Firefox's "Frame info" for the search area
gives the same, very large, URL
Frame info:
Mail :: Search:
Address:
http://demo.horde.org/imp/basic.php?0=S&1=U&2=5&3=C&4=T&5=1&6=g&page=search&gsub=function+gsub(pattern%2Creplacement)%7Bvar+result......
Type: text/html
Render Mode: Standards compliance mode
Referring URL: http://demo.horde.org/imp/dynamic.php?page=mailbox
If I call Search from within the Mail application, the frame info changes to
Address:
http://demo.horde.org/imp/basic.php?page=search&mailbox=SU5CT1g&token=jfDILj-Hy-jX5PSb6jHUIQ6
The difference in Horde Demo site seems to be that the web server does
not complain about the long URL.
Any ideas?
More information about the horde
mailing list