"https://wwws5.hsbc.com.br" complains about the a old safari version

Bug #1380657 reported by Renato Araujo Oliveira Filho
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
webbrowser-app
Fix Released
High
Olivier Tilloy

Bug Description

I am trying to access my account on brazilian hsbc bank.

And I am getting a error saying that I am using a old safari 2.0 web browser.

How to reproduce:

1- On webbroser go to "https://wwws5.hsbc.com.br" will appear 2 fields on the center of the screen
2 - Fill these fields with any value
3 - Click on the red button next to the second filed

What is expected:
Open the bank password page (with a virtual keyboard)

What is happening:
A page saying that my browser is not supported.

Related branches

description: updated
Olivier Tilloy (osomon)
Changed in webbrowser-app:
status: New → Confirmed
Revision history for this message
Renato Araujo Oliveira Filho (renatofilho) wrote :
Revision history for this message
Olivier Tilloy (osomon) wrote :

I’ve tried setting a UA override for the entire hsbc.com.br domain, but this didn’t seem to make any difference, their "security module" still identifies the browser as "Safari 2.0 for Android".

For reference, here is the UA override rule I tried (here with the iOS 5 string, also tried with that of chrome on android on galaxy nexus):

    [/^https?:\/\/www(s\d)?\.hsbc\.com\.br\//, "Mozilla/5.0 (iPhone; CPU iPhone OS 5_0 like Mac OS X) AppleWebKit/534.46
 (KHTML, like Gecko) Version/5.1 Mobile/9A334 Safari/7534.48.3"]

Revision history for this message
Olivier Tilloy (osomon) wrote :

If, instead of an override rule, I overwrite the default UA string to set it to e.g. that of an iphone, then the site loads correctly. So there must be some HTTP request to another domain that is used to determine the UA.

Revision history for this message
Olivier Tilloy (osomon) wrote :

I found the issue.

It seems that hsbc is first loading a script that queries the value of navigator.userAgent and then issues the subsequent queries based on this. The browser has a mechanism to override the value of navigator.userAgent, but it never worked because of a typo… D’oh!

Changed in webbrowser-app:
assignee: nobody → Olivier Tilloy (osomon)
Olivier Tilloy (osomon)
Changed in webbrowser-app:
status: Confirmed → In Progress
Olivier Tilloy (osomon)
Changed in webbrowser-app:
importance: Undecided → High
Olivier Tilloy (osomon)
Changed in webbrowser-app:
importance: High → Medium
Bill Filler (bfiller)
tags: added: rtm14 touch-2014-10-23
Changed in webbrowser-app:
importance: Medium → High
Olivier Tilloy (osomon)
tags: added: touch-2014-10-30
removed: touch-2014-10-23
Olivier Tilloy (osomon)
Changed in webbrowser-app:
status: In Progress → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.