Menu

#46 Wrong link to the next page (Advanced Author Search results)

closed-fixed
2
2009-06-20
2009-05-27
No

edit/aa_search.py and edit/ap_search.py use near the end
DBASEHOST instead of HTFAKE
to build url to the 'next hundred records'. The result is a link to localhost.

How to reproduce: go to Advanced Search (search.cgi), in ISFDB Author Search Form enter 'a' without quotes as Term 1 (Canonical Name), press Submit Query. At the end of displayed page edit/ap_search.cgi, there is link to http://localhost/cgi-bin/edit/aa_search.cgi?author_canonical%3Da+record%3D100

If the URL is edited by hand to be the expected http://www.isfdb.org/cgi-bin/edit/aa_search.cgi?author_canonical%3Da+record%3D100, at the end of the page displayed, there is again link http://localhost/cgi-bin/edit/aa_search.cgi?author_canonical%3Da+record%3D200

Expected: web server name in the URLs.

Result depends on: configuration file localdefs.py and value of DBASEHOST

Discussion

  • Ahasuerus

    Ahasuerus - 2009-05-27
    • assigned_to: nobody --> robertgl
     
  • Robert Glowczynski

    • status: open --> open-fixed
     
  • Robert Glowczynski

    Patch committed to CVS.

     
  • Robert Glowczynski

    • labels: 1169582 --> Search Results Display
    • priority: 5 --> 2
     
  • Robert Glowczynski

    Moved to the more specific category.

     
  • Ahasuerus

    Ahasuerus - 2009-06-20
    • status: open-fixed --> closed-fixed
     
  • Ahasuerus

    Ahasuerus - 2009-06-20

    Implemented in r2009-04.

     

Anonymous
Anonymous

Add attachments
Cancel





MongoDB Logo MongoDB