List Info

Thread: url_with_query overquoting




url_with_query overquoting
user name
2007-08-30 19:32:47
quixote.html.url_with_query() is escaping the
"&" when it builds a
query string.  This makes it impossible to pass the URL to
quixote.redirect().

-- 
Mike Orr <sluggostergmail.com>
_______________________________________________
Quixote-users mailing list
Quixote-usersmems-exchange.org
http://mail.mems-exchange.org/mailman/listinfo/quixo
te-users

Re: url_with_query overquoting
user name
2007-08-30 19:59:46
I see that this is fixed in the qp version of this function,
where
the '&' is wrapped in a call to qpy' s version of
htmltext().

On Aug 30, 2007, at 8:32 PM, Mike Orr wrote:

> quixote.html.url_with_query() is escaping the
"&" when it builds a
> query string.  This makes it impossible to pass the URL
to
> quixote.redirect().

_______________________________________________
Quixote-users mailing list
Quixote-usersmems-exchange.org
http://mail.mems-exchange.org/mailman/listinfo/quixo
te-users

Re: url_with_query overquoting
user name
2007-08-30 20:14:51
On 8/30/07, David Binger <dbingermems-exchange.org>
wrote:
> I see that this is fixed in the qp version of this
function, where
> the '&' is wrapped in a call to qpy' s version of
htmltext().

OK, I'm using a version of the htmltext-to-qpy code I gave
Titus, but
before his final version.  So my values are qpy strings but
overquoted.

I found another URL-building function in my application so I
used that
as a workaround.

By the way, soon I get the joy of embedding my Quixote app
in a Pylons
app, and reconciling the different ways they handle sessions
and query
parameters. Actually, what I want to do is make each
top-level Quixote
directory into a WSGI application via QWIP, and then they
can be used
as Pylons controllers.  But it remains to be seen how much
detail work
there'll be to make the Quixote app happy.  One problem is
authentication.  Pylons' AuthKit isn't finished yet, so I'll
have to
port my existing authentication system, which assumes that
session.user.division exists.

-- 
Mike Orr <sluggostergmail.com>
_______________________________________________
Quixote-users mailing list
Quixote-usersmems-exchange.org
http://mail.mems-exchange.org/mailman/listinfo/quixo
te-users

[1-3]

about | contact  Other archives ( Real Estate discussion Medical topics )