Closed Bug 570749 Opened 15 years ago Closed 15 years ago

Sniff user-agent server-side

Categories

(Input :: General, defect, P1)

defect

Tracking

(Not tracked)

VERIFIED FIXED

People

(Reporter: wenzel, Assigned: wenzel)

Details

Currently we expect the User-Agent string to be provided as a GET parameter through the feedback extension. Instead, we should parse it server-side. If that does not work, we could also sniff it via JS.
Assignee: fwenzel → nobody
Component: Reporter → Input
QA Contact: reporter → input
Summary: [Input] Sniff user-agent server-side → Sniff user-agent server-side
Assignee: nobody → fwenzel
Just a FYI, Here's a site tons of user agents (includes, spam bots, crawlers, robots and browsers) to send to download beta page: http://www.user-agents.org/ Also, when a user types in the url for submission pages, we should sniff if it's the latest beta. If it is, show the submission page. If not, then show the download beta page.
Priority: -- → P1
Target Milestone: --- → 1.0
Also, when a user goes to /happy or /sad without having the user agent or URL parameters, then we should point them to the download page
Done: http://github.com/fwenzel/reporter/commit/2fe4de8 Note: When visiting the feedback forms, you can now omit the ua=... GET parameter. It'll be fished out of the request headers and validated. If you don't send a UA header or it's not from the latest beta, you get forwarded to the "need beta" page.
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
verified FIXED
Status: RESOLVED → VERIFIED
Component: Input → General
Product: Webtools → Input
You need to log in before you can comment on or make changes to this bug.