Welcome!

Welcome to the official BlackBerry Support Community Forums.

This is your resource to discuss support topics with your peers, and learn from each other.

inside custom component

Web and WebWorks Development


Thank you for visiting the BlackBerry Support Community Forums.

BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)

BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.

"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."

- Kevin Michaluk, Founder, CrackBerry.com

Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.


Reply
New Developer
Posts: 1
Registered: ‎04-30-2009
My Device: Not Specified

Redirect fails with parameters

After a lot of investigation we think we've discovered a bug in the Blackberry Internet browser, used on the following models (at least):

BlackBerry8100/4.2.0
BlackBerry8100/4.5.0.52
BlackBerry8110/4.3.0
BlackBerry8120/4.5.0.52
BlackBerry8310/4.2.2
BlackBerry8700/4.2.1
BlackBerry8800/4.2.1
BlackBerry8820/4.2.2
BlackBerry8830/4.2.2
BlackBerry8900/4.6.1.101
BlackBerry8900/4.6.1.109
BlackBerry9000/4.6.0.125
BlackBerry9000/4.6.0.221

When our server issues an HTTP redirect (302) the redirect location is being converted to lowercase by the browser up until the first path separator (or equals sign), probably with the intention of only affecting the hostname. However, when the location is root and has a query parameter, this logic also converts the parameter to lowercase, which is wrong.

For example, if we redirect the browser to a root page with a parameter:
  HTTP/1.0 302 Moved Temporarily                                                                                                                                                
  Location: http://www.example.com?_ThisIsCaseSensitive=1

The Blackberry browsers incorrectly issue a:
  GET /?_thisiscasesensitive=1

Whereas, if we explicitly give the root path:
  HTTP/1.0 302 Moved Temporarily                                                                                                                                                
  Location: http://www.example.com/?_ThisIsCaseSensitive=1

Then it works and the Blackberry browsers issue a:
  GET /?_ThisIsCaseSensitive=1