Am 06.02.2006 um 16:39 schrieb Alec Thomas:
On Mon, Feb 06, 2006 at 02:16:08PM +0100, Christian Boos wrote:
Hi,
In [2853], in trac/ticket/web_ui.py, was introduced the following
change:
# FIXME: remove this once WSGI is merged
req.args = dict(req.args)
Unfortunately, for me this breaks, as subsequent req.args.get(),
like in the Ticket.populate(), retrieve a MiniFieldStorage, and not a
string.
So, I wonder which direction should we take for the fix...
* revert that part of the change (req.args remains a FieldStorage)
* go further and transform req.args to a dict where the values are
also
strings
My understanding, IIRC from what Chris was telling me, is that the
WSGI
merge will result in req.args being a dictionary of strings.
Yeah, and I'm planning on getting the WSGI branch up to date and
propose a merge this week. I wouldn't put in any workarounds for
FieldStorage related problems in the meantime.
Cheers,
Chris
--
Christopher Lenz
cmlenz at gmx.de
http://www.cmlenz.net/
_______________________________________________
Trac-dev mailing list
[email protected]
http://lists.edgewall.com/mailman/listinfo/trac-dev