Closed Bug 805664 Opened 12 years ago Closed 8 years ago

Redirect loop prevents access to Santander Brasil (Brazilian bank)

Categories

(Web Compatibility :: Site Reports, defect, P2)

ARM
Gonk (Firefox OS)

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: gkw, Unassigned)

References

()

Details

(Keywords: b2g-testdriver, qawanted, unagi, Whiteboard: [sitewait][country-br][redirectloop][serversniff])

Attachments

(3 files)

Attached image screenshot
+++ This bug was initially created as a clone of Bug #805660 +++

1. Go to http://www.santander.com.br/ - it is a Brazilian bank website.
2. There is an error message "The page isn't redirecting properly".

Works fine on Desktop and Firefox Mobile on Android.

From Wikipedia: "Santander is the fifth largest commercial bank in Brazil by assets, after Itaú Unibanco, Banco do Brasil, Bradesco and Caixa Econômica Federal. With more than 9 million customers, it operates in all segments of financial markets, with a network of 3696 branches and service centers and 18,312 ATMs" - https://en.wikipedia.org/wiki/Santander_Brasil

===

My Git commit info currently shows:

2012-10-24 11:07:05
fcfa1857bed6596e992263206451c6814e4b2... (I see ellipsis at the end)
Attached file adb logcat info
Thanks dchan for helping with this.
Hardware: x86 → ARM
Could be tech evangelism, but otherwise would be something at the gecko level.
Component: Gaia → General
Keywords: qawanted
blocking-basecamp: ? → +
Component: General → Mobile
Product: Boot2Gecko → Tech Evangelism
This is a bug on the Santander site. I changed my desktop useragent to match the phone browser useragent and got the redirect error

"Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0"
Firefox for Android 2012-10-30 nightly seems to work fine with the mobile version of the site being served.
Component: Mobile → General
Product: Tech Evangelism → Boot2Gecko
blocking-basecamp: + → ---
Component: General → Mobile
Product: Boot2Gecko → Tech Evangelism
Priority: -- → P2
Summary: [Browser] Virtually unusable Santander Brasil (Brazilian bank) website in B2G browser → Redirect loop prevents access to Santander Brasil (Brazilian bank)
Whiteboard: [contactready][country-br][redirectloop][serversniff]
Basically, the www.santander.com.br server has backend sniffing that thinks "Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0" is a mobile browser and redirects to m.santander.com.br. However, m.santander thinks that very same UA is a desktop browser and redirects back to www. It looks like this:

GET http://www.santander.com.br/
302 Moved Temporarily to http://m.santander.com.br/santandermovel

GET http://m.santander.com.br/santandermovel
301 Moved Permanently to http://m.santander.com.br/santandermovel/

GET http://m.santander.com.br/santandermovel/
302 Found to http://www.santander.com.br/

GET http://www.santander.com.br/
302 Moved Temporarily to http://m.santander.com.br/santandermovel

GET http://m.santander.com.br/santandermovel
301 Moved Permanently to http://m.santander.com.br/santandermovel/

GET http://m.santander.com.br/santandermovel/
302 Found to http://www.santander.com.br/

GET http://www.santander.com.br/
302 Moved Temporarily to http://m.santander.com.br/santandermovel

GET http://m.santander.com.br/santandermovel
301 Moved Permanently to http://m.santander.com.br/santandermovel/

GET http://m.santander.com.br/santandermovel/
302 Found to http://www.santander.com.br/

Obviously, it goes on and on and on until Firefox terminates the request and shows the redirect error message.
Should we add a new ua override on gaia's ua-override-prefs.js while the bank don't fix their end?
Sent an email to "redes.sociais@santander.com.br" after interacting with @SacSantander_br on Twitter. They told me to sent an email to their social network account and that they would forward it to the correct place.

If they ever get back to me, I will add to this bug.
Thanks Andre!

FYI: A number of community members from the community-brasil list have also reached out, hopefully we can get a response back from the bank.
Whiteboard: [contactready][country-br][redirectloop][serversniff] → [sitewait][country-br][redirectloop][serversniff]
Just an update--some community members have put us in touch with some people who have worked on Santander properties in the past and are in touch with the Santander developers. Hopefully we'll get this resolved soon.
I sent this message to our contact (who is in contact with the Bank developers), as they apparently don't think the problem is on their side:

Eu fiz um pequeno "Screencast" pra demonstrar o problema (mesmo no Desktop Firefox):

https://cloudup.com/ccb39zPBtdx

Depois de navegar pra santander.com.br, preste atenção para o fundo do navegador e pode ver os redirects de santander.com.br -> m.santander.com.br -> santander.com.br, etc. (até que desista o browser).

Eu modifiqué meu browser para ter o User Agent string do Firefox OS. Pode fazer o mesmo assim, http://wiki.manjaro.org/index.php?title=Firefox_about:config_edits#User_Agent_Strings

Usando ou "Mozilla/5.0 (Mobile; rv:18.0) Gecko/18.0 Firefox/18.0" ou "Mozilla/5.0 (Mobile; LG-D300; rv:18.1) Gecko/18.1 Firefox/18.1" (o LG Fireweb que lançou no Brasil ha pouco tempo)

https://developer.mozilla.org/en-US/docs/Gecko_user_agent_string_reference#Firefox_OS
This is still an issue.
Still an issue.
Adding another screenshot in the hope they understand what is happening on their side.
fixed
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Product: Tech Evangelism → Web Compatibility
Component: Mobile → Site Reports
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: