Ticket Change Details
Not logged in
Overview

Artifact ID: 34db4527b162b321627cf89986617b23efa23c79
Ticket: 77dc5de6397fb18c0fbade48738fdcdced1bc49f
/home redirect loop
User & Date: anonymous 2010-11-24 16:47:47
Changes

  1. comment changed to:
    When starting a new repository the index page (Admin -> Configuration) shows /home initially this redirects to /index. If you change this string to something else and then back to '/home' browsers report a redirect loop.
    
    What happens: Fossil stores the index page in table 'config' with key 'index-page'. Initially this record does not exist, and you get redirected to /index. Modifying the configuration overrides the default behavior. It is impossible however to get the original behavior back.
     
    The problem is that setting the string back to '/home' keeps the record in 'config', which causes the problem. Running "delete from config where name = 'index-page';" restores the original behavior and gets rid of the redirect loop.
    
    Suggestion: remove the record when the admin sets the index page to '/home'.
    
  2. foundin changed to: "ceab53718f"
  3. private_contact changed to: "6984f5ff2d3f66a87d3c6ddcf777c37b54e478f0"
  4. severity changed to: "Minor"
  5. status changed to: "Open"
  6. title changed to: "/home redirect loop"
  7. type changed to: "Code_Defect"