Thanks!

Good to have feedback from you. I've installed the last dev version, but
looks like I've spotted something again. Probably me though. Anyways.
I've got nose unit test, which deals with sub-domain.
I'm trying to do url_for(controller='users', action='login', sub_domain=
'my')
and it turns out it forms '/users/login'
url_for(controller='users', action='login') gives the same result.
In controllers it works as expected
I've figured that Routes look at the url sting already presented and if the
sub-domain is already there, just adds '/users/login' to the resulting URL.
Since tests enviroment is different - probably URL is not present there,
which confuses Routes.
That's just my guess. It'll be great if you could take a look at it.

On Tue, Jun 10, 2008 at 4:24 AM, Ben Bangert <[EMAIL PROTECTED]> wrote:

> On May 21, 2008, at 12:51 AM, Pavel Skvazh wrote:
>
>  That's clearly a Routes bug, at least from my standpoint so I've filed
>> a bug report. Thanks for help!
>>
>
> I've fixed this bug in the latest Routes tip. Thanks for the catch!
>
> Cheers,
> Ben

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"pylons-discuss" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/pylons-discuss?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to