r44736 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r44735‎ | r44736 | r44737 >
Date:22:19, 17 December 2008
Author:demon
Status:ok (Comments)
Tags:
Comment:
Add fix for Android-based mobile Safari. Was serving raw XML.
Modified paths:
  • /trunk/wap/hawhaw/hawhaw.inc (modified) (history)

Diff [purge]

Index: trunk/wap/hawhaw/hawhaw.inc
@@ -801,7 +801,8 @@
802802
803803 if (strstr($HTTP_USER_AGENT, "(iPhone") ||
804804 strstr($HTTP_USER_AGENT, "(iPod") ||
805 - strstr($HTTP_USER_AGENT, "(Aspen Simulator"))
 805+ strstr($HTTP_USER_AGENT, "(Aspen Simulator") ||
 806+ strstr($HTTP_USER_AGENT, "Android") )
806807 $this->iPhoneAlike = true;
807808
808809 if (defined("HAW_TERA_WURFL_PATH") && !$forced_output)

Comments

#Comment by Brion VIBBER (talk | contribs)   22:33, 17 December 2008

Confirmed fixed in Android 1.0 SDK emulator. Yay!

Status & tagging log