1
0
mirror of https://github.com/Tygs/0bin.git synced 2023-08-10 21:13:00 +03:00

Fixing various typo

This commit is contained in:
sam 2012-05-16 09:15:14 +02:00
parent 78eedf8acb
commit ed059c8216
3 changed files with 1014 additions and 2 deletions

View File

@ -48,7 +48,7 @@ Technologies used
Known issues Known issues
============ ============
- 0bin use several HTML5/CSS3 features that are not widely supported. In that case we handle the degradation as gracefully as we can. - 0bin uses several HTML5/CSS3 features that are not widely supported. In that case we handle the degradation as gracefully as we can.
- The "copy to clipboard" feature is buggy under linux. It's flash, so we won't fix it. Better wait for the HTML5 clipboard API to be implemented in major browsers. - The "copy to clipboard" feature is buggy under linux. It's flash, so we won't fix it. Better wait for the HTML5 clipboard API to be implemented in major browsers.
- The pasted content size limit check is not accurate. It's just a safety net, so we thinks it's ok. - The pasted content size limit check is not accurate. It's just a safety net, so we thinks it's ok.
- Some url shorteners and other services storing URLs break the encryption key. We will sanitize the URL as much as we can, but there is a limit to what we can do. - Some url shorteners and other services storing URLs break the encryption key. We will sanitize the URL as much as we can, but there is a limit to what we can do.

1012
setup.py Normal file

File diff suppressed because it is too large Load Diff

View File

@ -123,7 +123,7 @@ def runserver(host='', port='', debug=None, serve_static='', user='',
for d in reversed(settings.TEMPLATE_DIRS): for d in reversed(settings.TEMPLATE_DIRS):
bottle.TEMPLATE_PATH.insert(0, d) bottle.TEMPLATE_PATH.insert(0, d)
if serve_static: if settings.STATIC_FILES_ROOT:
@app.route('/static/<filename:path>') @app.route('/static/<filename:path>')
def server_static(filename): def server_static(filename):
return static_file(filename, root=settings.STATIC_FILES_ROOT) return static_file(filename, root=settings.STATIC_FILES_ROOT)