#79 Page.Save seemingly fails for Lemmas ending with Dot


webReq.GetResponse throws WebException: 404
The page ist indeed saved successfully.
I didn't find any workaround yet (besides ignoring the excption).


  • CodeDriller

    CodeDriller - 2010-10-23
    • status: open --> open-wont-fix
  • CodeDriller

    CodeDriller - 2010-10-23

    Thanks for your report.
    This seems to be a .NET bug. A server returns legal 302 (temporary redirect) response:

    HTTP/1.0 302 Moved Temporarily
    Date: Sat, 23 Oct 2010 02:34:17 GMT
    Server: Apache
    Cache-Control: private, s-maxage=0, max-age=0, must-revalidate
    Vary: Accept-Encoding,Cookie
    Expires: Thu, 01 Jan 1970 00:00:00 GMT
    Location: http://test.wikipedia.org/wiki/Yanqui_U.X.O.
    Content-Length: 0
    Content-Type: text/html; charset=utf-8
    X-Cache: MISS from sq61.wikimedia.org
    X-Cache-Lookup: MISS from sq61.wikimedia.org:3128
    X-Cache: MISS from knsq29.knams.wikimedia.org
    X-Cache-Lookup: MISS from knsq29.knams.wikimedia.org:3128
    X-Cache: MISS from amssq35.esams.wikimedia.org
    X-Cache-Lookup: MISS from amssq35.esams.wikimedia.org:80
    Connection: keep-alive

    But .NET's GetResponse() function (when AllowAutoRedirect is set to True) discards the last dot from http://test.wikipedia.org/wiki/Yanqui_U.X.O. address and automatically requests

    GET http://test.wikipedia.org/wiki/Yanqui_U.X.O HTTP/1.1
    Content-Type: application/x-www-form-urlencoded
    User-Agent: DotNetWikiBot/2.95 (Microsoft Windows NT 5.1.2600 Service Pack 2; .NET CLR 2.0.50727.3053)
    Accept-Encoding: gzip,deflate
    Host: test.wikipedia.org
    Connection: Keep-Alive

    For now I have no solution or way to get round that.

  • CodeDriller

    CodeDriller - 2010-11-04
    • status: open-wont-fix --> closed-wont-fix
  • CodeDriller

    CodeDriller - 2012-01-18
    • status: closed-wont-fix --> closed-fixed

Log in to post a comment.