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

       Web browser: ---
             Bug #: 28905
           Summary: User agent strings (for UIWebView and NSURLConnection
                    requests) need to be updated
           Product: Wikipedia Mobile
           Version: .5
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: trivial
          Priority: Unprioritized
         Component: iphone
        AssignedTo: [email protected]
        ReportedBy: [email protected]
                CC: [email protected]
    Classification: Unclassified


The project contains four UIWebView requests with a custom HTTP header field.

> ... setValue:@"Wikipedia Mobile/2.0" forHTTPHeaderField:@"User_Agent"];

UIWebView's default "User-Agent" field should be enough (see Bug 28884).
Otherwise, the "Wikipedia Mobile/2.0" value contains an invalid space
character, and an out-of-date version number.

There's also an action=opensearch request (using NSURLConnection) without a
custom "User-Agent" value. Is the default value suitable?

Should the code for creating requests be refactored into a category of
NSMutableURLRequest?

-- 
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