[#3476] "menu" redirects to wrong location on blackberry 7100
Summary "menu" redirects to wrong location on blackberry 7100
Queue MIMP
Queue Version 1.0-BETA
Type Bug
State Resolved
Priority 1. Low
Requester srrafa@usc.es
Created 2006-02-14 (5500 days ago)
Updated 2006-02-28 (5486 days ago)
Assigned 2006-02-18 (5496 days ago)
Resolved 2006-02-24 (5490 days ago)
Patch No

srrafa@usc.es 2006-02-14 13:51:32
After selecing "Menu" on


I get a "page not found" error because the browser is redirected to


I'll try to obtain the source code generated from mailbox.php. It's 
not possible from the handset. I guess I have to install de emulator 
from the SDK

Chuck Hagenbuch <chuck@horde.org> 2006-02-18 15:56:54
> I'll try to obtain the source code generated from mailbox.php. It's

> not possible from the handset. I guess I have to install de emulator

> from the SDK

Any luck with this? I can't reproduce it with my palm or with a 
regular browser.

srrafa@usc.es 2006-02-23 11:44:54
I have installed a 7100v emulator but I'm having some problems to make 
it work with the MDS emulator.

I'll keep you informed of any progress.

srrafa@usc.es 2006-02-23 13:47:55
I have the emulator working.  I can reproduce the error with it, but I 
still have problems to obtain the source code of the page

srrafa@usc.es 2006-02-24 17:10:47
Attached is a tcpdump capture of the data coming from the web server before

enters the BlackBerry Enterprise Sever

The number an the end of the wrong link called from "menu" is the 
content of one of the HTTP headers:

Content-location: 9ab82c0301e3ed1656084b1495699d13

For me, it seems that this is not a MIMP/Horde  problem.  Maybe the 
handheld browser  or the BES are failing to parse the page

Also, when using https URLs, the problem can be reproduced with the 
first click on "menu". When using http URLs it does not fail the first 
time :-?

srrafa@usc.es 2006-02-24 17:41:27

This is exactly the URL that the browser of the handheld tries to get:


i.e., the content-location header plus a reference to the card id that 
contains the menu.

I have no idea on how the contant-location header must be handled. 
Maybe anything of this make sense to you.

srrafa@usc.es 2006-02-24 17:49:40

... but finally it make some sense. The problem can be solved by 
commenting out this line at:


// Tricks to foil caching.

header('Content-location: ' . md5(date('U')));

Chuck Hagenbuch <chuck@horde.org> 2006-02-24 20:38:50
Thanks for sticking with this and tracking it down! I've removed that 
line from CVS, so it'll be fixed for Horde 3.1.

Michael Slusarz <slusarz@horde.org> 2006-02-24 21:03:15
Let me add that I am impressed also.  There should be a link somewhere 
called "The Perfect Bug Report" that leads to this ticket.

srrafa@usc.es 2006-02-28 11:32:57
You deserve all the collaboration we can give. Thanks to all of you 
for your great work.