Incorrect URL for dev/set_current_user
Reported by Tim Hunt | December 9th, 2009 @ 03:33 PM
When using a prefix in development mode, example:
./script/server --port=3000 --path=/somepath
The prefix is not included in the set_current_user URl.
The fix - change line 609 in taglibs/rapid_core.dryml
From
onchange="location.href = '/dev/set_current_user?login=' +
this.options[this.selectedIndex].value"
To
onchange="location.href = '#{base_url}/dev/set_current_user?login='
+ this.options[this.selectedIndex].value"
Comments and changes to this ticket
-
Bryan Larsen December 10th, 2009 @ 02:36 PM
- State changed from new to resolved
(from [44e871846864c702609519919dead127b67630bd]) [#578 state:resolved] dev-user-changer was ignoring base_url http://github.com/tablatom/hobo/commit/44e871846864c702609519919dea...
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile »
People watching this ticket
Tags
Referenced by
- 578 Incorrect URL for dev/set_current_user (from [44e871846864c702609519919dead127b67630bd]) [#578 s...