Commit 041757b8 authored by gramps's avatar gramps
Browse files

Reviewed by darin

* Debug/DebugUtilities.m:
(-[DebugUtilities userAgentSubmenuItem]):

Changed "PPC" in one user agent string to "PPC Mac OS X" used for
debugging.

Fixed 3127173 -- REGRESSION: fboweb.com renders incorrectly

Reviewed by darin

* English.lproj/StringsNotToBeLocalized.txt:
* WebView.subproj/WebController.m:
(-[WebController userAgentForURL:]):

Changed "PPC" in our user agent string to "PPC Mac OS X" in order to
match Mozilla and make the silly server-side user agent string checking
work at fboweb.com.  Actually, just "PPC " would work fine at
fboweb.com.  Go figure.


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@3056 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 47882f3a
2002-12-14 Don Melton <gramps@apple.com>
Fixed 3127173 -- REGRESSION: fboweb.com renders incorrectly
Reviewed by darin
* English.lproj/StringsNotToBeLocalized.txt:
* WebView.subproj/WebController.m:
(-[WebController userAgentForURL:]):
Changed "PPC" in our user agent string to "PPC Mac OS X" in order to
match Mozilla and make the silly server-side user agent string checking
work at fboweb.com. Actually, just "PPC " would work fine at
fboweb.com. Go figure.
2002-12-13 Darin Adler <darin@apple.com>
Reviewed by Don.
......
......@@ -70,8 +70,8 @@
"Library/Internet Plug-Ins"
"Library/Preferences/Explorer/Favorites.html"
"Lucida Grande"
"Mozilla/5.0 (Macintosh; U; PPC; %@) AppleWebKit/%@ (like Gecko) %@"
"Mozilla/5.0 (Macintosh; U; PPC; %@) AppleWebKit/%@ (like Gecko)"
"Mozilla/5.0 (Macintosh; U; PPC Mac OS X; %@) AppleWebKit/%@ (like Gecko) %@"
"Mozilla/5.0 (Macintosh; U; PPC Mac OS X; %@) AppleWebKit/%@ (like Gecko)"
"NETSCAPE2"
"NP_GetEntryPoints"
"NP_Initialize"
......
......@@ -375,10 +375,10 @@ - (NSString *)userAgentForURL:(NSURL *)URL
NSString *userAgent;
if ([applicationName length]) {
userAgent = [NSString stringWithFormat:@"Mozilla/5.0 (Macintosh; U; PPC; %@) AppleWebKit/%@ (like Gecko) %@",
userAgent = [NSString stringWithFormat:@"Mozilla/5.0 (Macintosh; U; PPC Mac OS X; %@) AppleWebKit/%@ (like Gecko) %@",
language, sourceVersion, applicationName];
} else {
userAgent = [NSString stringWithFormat:@"Mozilla/5.0 (Macintosh; U; PPC; %@) AppleWebKit/%@ (like Gecko)",
userAgent = [NSString stringWithFormat:@"Mozilla/5.0 (Macintosh; U; PPC Mac OS X; %@) AppleWebKit/%@ (like Gecko)",
language, sourceVersion];
}
......
......@@ -375,10 +375,10 @@ - (NSString *)userAgentForURL:(NSURL *)URL
NSString *userAgent;
if ([applicationName length]) {
userAgent = [NSString stringWithFormat:@"Mozilla/5.0 (Macintosh; U; PPC; %@) AppleWebKit/%@ (like Gecko) %@",
userAgent = [NSString stringWithFormat:@"Mozilla/5.0 (Macintosh; U; PPC Mac OS X; %@) AppleWebKit/%@ (like Gecko) %@",
language, sourceVersion, applicationName];
} else {
userAgent = [NSString stringWithFormat:@"Mozilla/5.0 (Macintosh; U; PPC; %@) AppleWebKit/%@ (like Gecko)",
userAgent = [NSString stringWithFormat:@"Mozilla/5.0 (Macintosh; U; PPC Mac OS X; %@) AppleWebKit/%@ (like Gecko)",
language, sourceVersion];
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment