#2614 Wiki sends weird redirects instead of 404s

v1.0.0
closed
sf-1 (616)
Wiki
nobody
2015-08-20
2011-08-15
No
$ curl -I 'http://sourceforge.net/motorola/wiki/Android/wiki/wiki/Projects'
HTTP/1.1 302 Found
Location: http://sourceforge.net/motorola/wiki/Android/wiki/wiki/wiki/Projects


$ curl -I 'http://sourceforge.net/motorola/wiki/Android/wiki'
HTTP/1.1 302 Found
Location: http://sourceforge.net/motorola/wiki/wiki

Discussion

  • Jenny Steele - 2011-08-18
    • Description has changed:

    Diff:

    --- old 
    +++ new 
    @@ -1,4 +1,3 @@
    -
     ~~~~
     :::bash
     $ curl -I 'http://sourceforge.net/motorola/wiki/Android/wiki/wiki/Projects'
    
    • status: open --> in-progress
    • assigned_to: Jenny Steele
     
  • Jenny Steele - 2011-08-18
    • status: in-progress --> code-review
    • assigned_to: Jenny Steele --> John Hoffmann ☠
     
  • Jenny Steele - 2011-08-18

    Fixed on allura js/2614. To test, create a page on a wiki like "mypage". If you go to the url /p/test/wiki/Home/mypage (assuming the Home page already exists) you will get redirected to /p/test/wiki/mypage. If you go to /p/test/wiki/Home/notthere you will get a 404.

     
  • John Hoffman - 2011-08-19
    • status: code-review --> closed
    • size: --> 1
     
  • John Hoffman - 2011-08-19

    Merged to dev, tested fine.

    > nosetests forgewiki/tests/functional/test_root.py:TestRootController.test_subpage_attempt
    .
    ----------------------------------------------------------------------
    Ran 1 test in 3.161s
    
    OK
    
     

Log in to post a comment.