projects
/
wiki
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Get the footer style working and add a demo page to demo it
[wiki]
/
main.py
diff --git
a/main.py
b/main.py
index
189009c
..
b87aa3a
100644
(file)
--- a/
main.py
+++ b/
main.py
@@
-10,7
+10,7
@@
def index():
@app.route('/p/<name>')
def page(name):
for ch in name:
- if not ch in 'abcdefghijklmnopqrstuvwxyz_':
+ if not ch in 'abcdefghijklmnopqrstuvwxyz_
0123456789
':
flask.abort(404)
try: