0
0
mirror of https://github.com/python/cpython.git synced 2024-12-01 11:15:56 +01:00
Commit Graph

10 Commits

Author SHA1 Message Date
Guido van Rossum
cc44ccccb2 Add description of what's here. 2002-10-18 15:35:42 +00:00
Guido van Rossum
154c08894b Refactor cmd_view(): move line formatting to a helper method. 2002-10-17 21:43:47 +00:00
Guido van Rossum
9c3848b39b In cmd_create(), use a redirect directive instead of viewing the page;
this avoids resubmitting POST data.

Remove redundant 'Page' from label passed from cmd_new().
2002-10-17 21:41:42 +00:00
Guido van Rossum
3296dcc65d Remove redundant load() call. 2002-10-17 19:30:39 +00:00
Guido van Rossum
a55dda6773 Grammar repair in comment. 2002-10-17 16:33:40 +00:00
Guido van Rossum
c9776bd8dd Use tempfile.gettempdir() to get the temp directory rather than
hardcoding "/tmp".
2002-10-17 16:26:45 +00:00
Guido van Rossum
f66cccf506 Restructure: move all wiki code into a separate module. 2002-10-17 15:53:02 +00:00
Guido van Rossum
26a1ac462c Add trailing newline when saving. 2002-10-17 13:34:01 +00:00
Guido van Rossum
48123b266c Security fixes: reject non-wiki-word page names; set homedir to /tmp.
Show errors returned by store().

A few nits.
2002-10-17 11:45:54 +00:00
Guido van Rossum
68077210c2 Some really simple cgi examples. cgi3 is a MiniWiki. 2002-10-16 21:01:27 +00:00