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

           Summary: Launching a mobile wikipedia URL which contains some
                    HTML entities can generate an error
           Product: Wikipedia Mobile
           Version: .5
          Platform: All
               URL: http://it.m.wikipedia.org/wiki/Moli%E8re
        OS/Version: All
            Status: NEW
          Severity: major
          Priority: Normal
         Component: server
        AssignedTo: hcat...@wikimedia.org
        ReportedBy: ninn...@gmail.com
                CC: tf...@wikimedia.org, ninn...@gmail.com


Trying to launch http://it.m.wikipedia.org/wiki/Moli%E8re causes an internal
server error and a redirection to the full Wikipedia:

GET http://it.m.wikipedia.org/wiki/Moli%E8re HTTP/1.1
Host: it.m.wikipedia.org
Proxy-Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US) AppleWebKit/532.0
(KHTML, like Gecko) Chrome/3.0.195.38 Safari/532.0
Accept:
application/xml,application/xhtml+xml,text/html;q=0.9,text/plain;q=0.8,image/png,*/*;q=0.5
Accept-Encoding: gzip,deflate,sdch
Accept-Language: it-IT,it;q=0.8,en-US;q=0.6,en;q=0.4
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3

HTTP/1.1 500 Internal Server Error
Server: nginx/0.5.33
Date: Tue, 05 Jan 2010 14:02:28 GMT
Content-Type: text/html; charset=utf-8
Transfer-Encoding: chunked
Proxy-Connection: Keep-Alive
Connection: Keep-Alive

3bb
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
<html>
  <body>
    <div id="container">
      <h2>Si .. verificato un problema.</h2>
      <p>Wikipedia mobile .. ancora in fase di sviluppo attivo e stiamo
lavorando sodo per risolvere tutti i nostri errori interni. Questo errore ..
gi.. stato notificato e verr.. presto corretto. Controlla nuovamente.</p>
    </div>
    <script type="text/javascript">
      var language = window.location.host.split(".")[0];

      if(language == "m") {
        language = navigator.language.substr(0,2);
      }

      var path = window.location.pathname;

      if(path.match("::Home")) {
        path = "/";
      }

      var redirectTo = "http://"; + language +
".wikipedia.org/w/mobileRedirect.php?to=http://"; + language + ".wikipedia.org"
+ path;
      window.location = redirectTo;
    </script>
  </body>
</html>


Same thing happens also with http://en.m.wikipedia.org/wiki/Die_Br%FCcke
Is that an nginx issue?


-- 
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
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to