Closed (fixed)
Project:
Translation Management Tool
Version:
8.x-1.x-dev
Component:
User interface
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
25 Aug 2015 at 15:15 UTC
Updated:
3 Oct 2015 at 11:24 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #2
juanse254 commentedComment #3
juanse254 commentedSo far this seems to do the trick, but tests needed.
Comment #4
juanse254 commentedComment #5
juanse254 commentedOkay, tests added.
Comment #7
juanse254 commentedComment #8
berdirTrailing /. Would have committed, but...
Please add a comment that explains why we are doing this.
Comment #9
juanse254 commentedChanges added :).
Comment #10
LKS90 commentedComment is too long (8 chars too many) and describes what the following lines do, not why they are doing it (I'm not really sure why we have to do it, probably because there is no form for the url with the destination query at the end of the URL)
Comment #11
juanse254 commentedEdited comment, made it shorter and more descriptive.
Comment #12
mbovan commentedNot needed for the tests?
One missing space after
(array)#10 is still not fixed. 1 character extra. :)
Comment #13
juanse254 commentedApplied :).
Comment #14
juanse254 commentedComment #15
juanse254 commentedUps , this is the right patch.
Comment #16
LKS90 commentedLooks good now, I'd say.
Edit: A real explanation why we have to remove the destination would be really nice though, I'm just curious though. Why is the destination query added to all requests anyway? Is it only the 'destination' element that will break the redirect or will any query elements in the request break the redirect?
Comment #20
juanse254 commentedComment #21
edurenye commentedAdd a better explanation, the comment has to have less than 80 carachters per line, but you can add more than one line, so split the explanation in more than on line. You should configure your IDE to show these things, is so useful.
Comment #22
edurenye commentedTake this in mind the next time, you are right maybe this explanation it's enough.
Comment #23
berdirComment looks fine to me. Committed.