https://bugzilla.wikimedia.org/show_bug.cgi?id=28905

--- Comment #3 from Ben Rimmington <[email protected]> 2011-05-31 10:30:08 
UTC ---
(In reply to comment #2)
> This ain't an in browser XHR request, bug 28884 doesn't apply here - the app
> should have its own user-agent. It should not use the underlying library's
> User-Agent.

RootViewController and WikiViewController are using UIWebView to load requests,
so the policy for browser-based applications should apply.

RootViewController is also using NSURLConnection to request action=opensearch
results, but the default User-Agent might be sufficient:

<http://stackoverflow.com/questions/1532206/changing-the-useragent-of-nsurlconnection>

(I'm not sure how to verify that the app name and version are included by
default).

> Putting a User_agent header isn't illegal (Well i guess if you get technical
> non-standardized headers should start with x-) its just rather pointless.

The main issue with the User_Agent strings is the hard-coded version number
(it's using "Wikipedia Mobile/2.0", but the current CFBundleVersion is 2.1).

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to