Opened 15 years ago

Closed 14 years ago

#104 closed defect (fixed)

redirect=0 does not stop #REDIRECTs

Reported by: grimoire Owned by: Dagfinn Ilmari Mannsåker
Priority: normal Milestone:
Component: openguides Version: 0.52
Severity: normal Keywords: hackfestsummer2007-reviewed
Cc:

Description

Example URL: http://manchester.openguides.org/?Locale_Great_Northern_Centre

When a user attempts to access a node which is a #REDIRECT, they are automatically redirected. The new page they are viewing tells them which page they were redirected from, and there is a link to this node with a "redirect=0" parameter. It's reasonable to assume that this link will allow you to see or edit the #REDIRECT but in fact it just redirects the user back to the target of the #REDIRECT.

Change History (5)

comment:1 Changed 14 years ago by Dominic Hargreaves

Owner: changed from Dominic Hargreaves to Nobody

comment:2 Changed 14 years ago by Dagfinn Ilmari Mannsåker

Owner: changed from Nobody to Dagfinn Ilmari Mannsåker
Status: newassigned

Changing the parameter to redirect=no makes us not need to care about definedness vs. truth.

comment:3 Changed 14 years ago by Dominic Hargreaves

Keywords: hackfestsummer2007-confirmed added

comment:4 Changed 14 years ago by Dominic Hargreaves

Keywords: hackfestsummer2007-reviewed added; hackfestsummer2007-confirmed removed

comment:5 Changed 14 years ago by Dagfinn Ilmari Mannsåker

Resolution: fixed
Status: assignedclosed

(In [1056]) Check for definedness of redirect parameter before defaulting to 1 (closes #104).

Note: See TracTickets for help on using tickets.