Edgewall Software
Modify

Ticket #482 (closed defect: fixed)

Opened 8 years ago

Last modified 8 years ago

Should only redirect to referer is its in the trac site

Reported by: barry.scott@… Owned by: cmlenz
Priority: low Milestone: 0.8
Component: general Version: 0.7
Severity: minor Keywords:
Cc:
Release Notes:
API Changes:

Description

Links from outside a trac site that have the /login end up back
where you started after entering credentials. The attached patch
only redirects back to the referer if its from within the trac
site.

Attachments

core.py.patch (589 bytes) - added by barry.scott@… 8 years ago.
core.py patch

Download all attachments as: .zip

Change History

Changed 8 years ago by barry.scott@…

core.py patch

comment:1 Changed 8 years ago by cmlenz

Against what revision of core.py did you make this patch?

comment:2 Changed 8 years ago by daniel

  • Milestone set to 0.8
  • Priority changed from normal to low
  • Severity changed from normal to minor

comment:3 Changed 8 years ago by martin.poole@…

Patch was against 0.7 release.

It is needed to correctly use the configuration detailed in TracMultipleProjects if you actually have the suggested index page at /projects/index.html and require authenticated access. The index page gives links to the login page which then just redirected you back to the /projects/index.html page.

comment:4 Changed 8 years ago by cmlenz

  • Owner changed from jonas to cmlenz

comment:5 Changed 8 years ago by cmlenz

  • Status changed from new to assigned

comment:6 Changed 8 years ago by cmlenz

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

Fixed in [865].

View

Add a comment

Modify Ticket

Change Properties
<Author field>
Action
as closed
The resolution will be deleted. Next status will be 'reopened'
to The owner will be changed from cmlenz. Next status will be 'closed'
Author


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

 
Note: See TracTickets for help on using tickets.