[horde] Mail search: Request-URI Too Large

Oscar del Rio delrio at mie.utoronto.ca
Wed Aug 14 18:11:18 UTC 2013


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)

Mail Search works fine if you call it from the Mail application and in 
Basic mode.

Thanks.


More information about the horde mailing list