Project

General

Profile

redirect_to / url is encoded twice (time_tracker plugin)

Added by med med almost 12 years ago

hi,
I installed the time_tracker plugin on my 1.2.2 redmine. my problem is that urls are encoded twice when I click stop so time is not recorded correctly (it is empty)

https://.../issues/1657/edit?time_entry%255Bhours%255D=1.0
while it should be
https://.../issues/1657/edit?time_entry%5Bhours%5D=1.0

(urlencode(%) == %25)

in the plugin code, I suppose this is the line which is called when stop is clicked (looks correct) :


redirect_to :controller => 'issues', :action => 'edit', :id => issue_id, :time_entry => { :hours => hours }

can somebody help? thanks!