[PATCH] login: strip possible prefix from came_from if it's present

Andrew Shadura andrew at shadura.me
Wed Sep 16 14:29:17 UTC 2015


On 16/09/15 16:27, Thomas De Schampheleire wrote:
> I think you should add test cases here.
> 
> And regarding issue #104, did you verify that without that patch, the current 
> problem was not present?

It worked previously, but it doesn't now. From the original code, I can
see came_from was passed to the redirect directly, without url()
wrapper, so that's obviously the reason for the regression.

-- 
Cheers,
  Andrew

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <http://lists.sfconservancy.org/pipermail/kallithea-general/attachments/20150916/4f9235ee/attachment.sig>


More information about the kallithea-general mailing list