-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Roland Hedberg wrote:
> On Nov 4, 2009, at 10:17, Roland Hedberg wrote:
> 
>> Hi!
>>
>> I'm working on a project where I need to let people authenticate.
>> So I thought I would use repoze.who.form as a starting point.
>> And it works ok except for one thing and that is this:
>>
>> When users hit my application the URL contains a query part.
>> When they have gone through the login form the query part is lost !
>> Is there some way by which I can retain the query part or is there
>> some way of getting it into the form action tag ?
>>
> 
> To follow up on my own query:
> 
> In repoze.who.plugin.form the classs FormPlugin has an argument  
> formcallable.
> The make_plugin function in the same file doesn't allow you access to  
> that argument.

Yup, that's a bug.  You could work around it by defining your own
factory which called 'make_plugin' and then assigned the 'formcallable'
attribute to the result.

I have checked in a fix for this, which will be available in the next
release.

> I have 1.0.16, is this fixed in a later version or ?

AFAIK, 1.0.15 was the last release, both on PyPI and in SVN:

 $ svn ls svn+ssh://rep...@svn.repoze.org/svn/repoze.who/tags \
   | grep "1\.0\.1[0-9]"
 1.0.10/
 1.0.11/
 1.0.12/
 1.0.13/
 1.0.14/
 1.0.15/


- --
===================================================================
Tres Seaver          +1 540-429-0999          tsea...@palladion.com
Palladion Software   "Excellence by Design"    http://palladion.com
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkrx/GwACgkQ+gerLs4ltQ4VkgCeN5/JsPoO0ZruPqdZUhLcqFPw
MhwAn2KTQloT56E1sOzUv2Twf2NOULxg
=q7Ao
-----END PGP SIGNATURE-----
_______________________________________________
Repoze-dev mailing list
Repoze-dev@lists.repoze.org
http://lists.repoze.org/listinfo/repoze-dev

Reply via email to