Closed Bug 535316 Opened 15 years ago Closed 14 years ago

tiki-login.php does not pass locale to tiki-login_scr.php

Categories

(support.mozilla.org :: Localization, task)

task
Not set
normal

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: paulc, Assigned: Tobbi)

Details

(Whiteboard: [good first bug] sumo_only)

Attachments

(1 file, 1 obsolete file)

STR:
1. Logged out, visit http://support.mozilla.com/vi/kb/Deleting+cookies
2. Click on the sidebar "Log in" link ("Đăng Nhập") -- note the link: http://support.mozilla.com/tiki-login.php?locale=vi

AR:
Redirection to https://support.mozilla.com/tiki-login_scr.php

ER:
Redirection to https://support.mozilla.com/tiki-login_scr.php?locale=vi
Assignee: nobody → paulc
Whiteboard: [good first bug]
Unassigning a few [good first bug]s.
Assignee: paulc → nobody
Assignee: nobody → tobbi.bugs
This should fix it. I added the locale param to the URL.
Attachment #419955 - Flags: review?(paulc)
Attachment #419955 - Flags: review?(james)
Comment on attachment 419955 [details] [diff] [review]
Adding locale parameter to the URL opened

Works, but for English en-US turns into en, which I forgot to mention when you asked. Can you use $_GET instead of $_REQUEST?
Attached patch v2Splinter Review
Replaced REQUEST with GET
Attachment #419955 - Attachment is obsolete: true
Attachment #419968 - Flags: review?(paulc)
Attachment #419968 - Flags: review?(james)
Attachment #419955 - Flags: review?(paulc)
Attachment #419955 - Flags: review?(james)
Comment on attachment 419968 [details] [diff] [review]
v2

WFM. Committed as r58923.
Thanks Tobbi!
Attachment #419968 - Flags: review?(paulc)
Attachment #419968 - Flags: review?(james)
Attachment #419968 - Flags: review+
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Target Milestone: 1.6 → 1.5.1
LPH: you may upstream if this is not in tiki. Otherwise just mark it as sumo_only.
Whiteboard: [good first bug] → [good first bug] tiki_bug
Verified FIXED; clicking on that link took me to https://support-stage.mozilla.org/tiki-login_scr.php?locale=vi
Status: RESOLVED → VERIFIED
Just adding that parameter everywhere is not really a solution for tiki. Perhaps a more centralized handling would be good.
Whiteboard: [good first bug] tiki_bug → [good first bug] sumo_only
Status: VERIFIED → RESOLVED
Closed: 15 years ago14 years ago
Reopening to commit to branches/1.5.1_temp. Will re-resolve after patches are committed.
Status: RESOLVED → REOPENED
Resolution: FIXED → ---
On branch, r62436
Status: REOPENED → RESOLVED
Closed: 14 years ago14 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: