Code

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#1735 closed enhancement (fixed)

[patch] 404 view should pass the request path into context

Reported by: ubernostrum Owned by: adrian
Component: Core (Other) Version: magic-removal
Severity: normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: yes Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: UI/UX:

Description

Custom 404 pages are a lot easier if you've got access to the request path.

Attachments (1)

defaults.diff (667 bytes) - added by ubernostrum 8 years ago.
Patch to add 'request_path' variable to 404 context

Download all attachments as: .zip

Change History (3)

Changed 8 years ago by ubernostrum

Patch to add 'request_path' variable to 404 context

comment:1 Changed 8 years ago by ubernostrum

  • Summary changed from 404 view should pass the request path into context to [patch] 404 view should pass the request path into context
  • Version set to magic-removal

comment:2 Changed 8 years ago by adrian

  • Resolution set to fixed
  • Status changed from new to closed

(In [2804]) magic-removal: Fixed #1735 -- Default 404 view now gets 'request_path' in template context. Thanks, ubernostrum

Add Comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
as The resolution will be set. Next status will be 'closed'
The resolution will be deleted. Next status will be 'new'
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.