Commit Graph

16 Commits

Author SHA1 Message Date
sqozz 154df1af2b Fix url input and mark it as required
Validation is done in html on the client
and raises an error 400 in the api.

This fixes #2.
2018-05-01 03:53:11 +02:00
sqozz 07ba6a0f17 Fix escaping of displayed URLs 2018-04-08 15:04:50 +02:00
sqozz b98c189f7c Fix requests with empty wish-URLs 2018-04-07 23:03:54 +02:00
sqozz d02c458e2a Add wishId as optional parameter to requests 2018-04-07 21:57:34 +02:00
sqozz 264c6216eb Add vim magic line 2018-04-07 20:50:04 +02:00
sqozz c5adc1e3fa Add escaping to displayed URLs 2018-04-07 02:31:03 +02:00
sqozz c4a23d37c4 Filled the footer with life \o/ 2016-02-13 02:14:42 +01:00
sqozz 96cce19ca5 Implemented inspection mode by appending + on a short url.
Also a clean, html free resolver is now available by appending ?resolve
on a short url.
2016-02-12 18:01:19 +01:00
sqozz 97b906730b Some code cleanups 2016-02-11 21:32:42 +01:00
sqozz 99b747d4ba Auto prepend the default scheme (http://) before redirect 2016-02-11 01:35:07 +01:00
sqozz f5e4b02997 Merge branch 'fastcgi' of https://github.com/cfr34k/schort into cfr34k-fastcgi 2016-02-10 23:36:28 +01:00
sqozz ae96b0c268 Added wsgi script 2016-02-10 23:30:52 +01:00
Thomas Kolb 2ef757b74b Moved database to subdirectory "data"
This resolves problems in sqlite when the directory containing the
database is not writable by the webserver, even when the database file
itself is.
2016-02-10 21:37:39 +01:00
sqozz 383643bdca Changed redirect from temporary (302) to permanent (301) 2016-02-10 14:06:07 +01:00
sqozz e804ffa917 Disabled debug 2016-02-10 13:45:08 +01:00
sqozz 4bded71540 renamed shortener 2016-02-10 13:37:39 +01:00
Renamed from shortener.py (Browse further)