Commit Graph

12 Commits

Author SHA1 Message Date
florentx dbe0df756b Use setdefault() because it sets session.modified correctly. 2010-04-21 16:36:20 +08:00
Armin Ronacher 9f6bc93e4d Fixed XSS problem by escaping all slashes in JSON.
This also probes simplejson first to figure out if it escapes slashes
which it did in earlier versions.
2010-04-20 15:12:16 +02:00
Armin Ronacher 9f0b2429d6 The testsuite skips JSON tests now is not available and runs the example
tests as well.
2010-04-20 10:51:36 +02:00
Armin Ronacher 95750b3287 Documented some routing converter possibilities. 2010-04-19 23:49:02 +02:00
unknown 3088a9371e Make it easier to associate a rule, endpoint and view_function
This resolves http://github.com/mitsuhiko/flask/issues/issue/11
2010-04-20 01:33:12 +08:00
Armin Ronacher ade490514d Fixed a security problem caused by changed simplejson semantics.
Notice: this was never in a release version of Flask.
2010-04-19 18:51:04 +02:00
Armin Ronacher 6e2be6a0b3 Added JSON Support and started working on jQuery docs 2010-04-19 15:39:07 +02:00
Armin Ronacher 190059c8f0 Added support for macro pulling and documented certain design decisions. 2010-04-18 15:44:06 +02:00
Armin Ronacher 5310fc3822 Session falls back to a dummy object now if secret_key is missing.
This makes it possible to still read-only access the empty session but
requires the secret key to be set for write access.  The error message
raised explains that.  This closes #10.
2010-04-17 14:10:47 +02:00
Armin Ronacher fb2d2e446b request_init -> before_request and request_shutdown -> after_request
This fixes #9.
2010-04-16 11:03:16 +02:00
Armin Ronacher ca520fb7e4 Static files are active in the WSGI app now, not just the server. 2010-04-14 14:11:00 +02:00
Armin Ronacher 08f1f0dc32 Added more Flask tests 2010-04-14 02:42:12 +02:00