Closed Bug 1350144 Opened 4 years ago Closed 4 years ago

Remove unicode from user agent strings

Categories

(Firefox for iOS :: General, enhancement, P1)

Other
iOS
enhancement

Tracking

()

RESOLVED FIXED
Iteration:
1.18
Tracking Status
fxios-v7.0 --- fixed
fxios 7.0+ ---
fxios-v8.0 --- fixed

People

(Reporter: st3fan, Assigned: sleroux)

Details

(Whiteboard: [MobileCore])

Attachments

(2 files)

We currently use the product name in our user agents. This means the the UA can contain 'Firefox β'.

This can confuse some tools like NGINX so the request is to replace 'Firefox β' with 'Firefox Beta' and 'Firefox α' with 'Firefox Nightly' in the user agents.

I think it is fine to keep the unicode on the home screen?
Severity: normal → blocker
Priority: -- → P1
Note that this doesn't just confuse nginx, it's actually invalid HTTP. We have crashed webservers before by doing exactly this.
Nginx logs the present iOS Beta user agent as "Firefox-iOS-Sync/7.0 (Firefox".
(In reply to Bob Micheletto [:bobm] from comment #2)
> Nginx logs the present iOS Beta user agent as "Firefox-iOS-Sync/7.0
> (Firefox".

That's even more concerning.
Assignee: nobody → sleroux
Status: NEW → ASSIGNED
Whiteboard: [MobileCore]
Attachment #8852016 - Flags: review?(fpatel) → review+
Attachment #8852018 - Flags: review?(fpatel) → review+
master 04d348d93cf516ed9174f9342d21a52fd0e5d85d
v7.x 2c7fc2751b8bd8bc4e2b86b76d16c7ea321749d9
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Iteration: --- → 1.18
You need to log in before you can comment on or make changes to this bug.