[PATCH] login: always pass server-relative URLs in came_from

Mads Kiilerich mads at kiilerich.com
Fri Sep 18 15:37:44 UTC 2015


On 09/18/2015 05:09 PM, Thomas De Schampheleire wrote:
>
> On September 18, 2015 3:03:01 PM GMT+02:00, "Søren Løvborg" <sorenl at unity3d.com> wrote:
>> Here's an alternative to Andrew's patch, which fixes both the prefix
>> problem and a few others.
>>
>> There's a lot more churn, especially in the test suite, but all-in-all
>> the result is a 20-line reduction. A test that prefix redirects
>> actually
>> work should probably be added; for now, it's been verified manually.
> A test would indeed be great... You or Andrew interested?

It seems like we have plenty of tests. They were just testing the wrong 
logic.

/Mads


More information about the kallithea-general mailing list