9cda58d0c0
Rename tawashi to duckbin.
...
The library that used to be "tawashi_implem" now
is simply called tawashi.
2017-06-02 21:53:27 +01:00
2f00014758
Fail if CONTENT_TYPE is not application/x-www-form-urlencoded.
...
As part of the partial improvement to the POST reading
code I also added a max_post_size setting which defaults
to 1 MiB. POST inputs longer than that size get truncated.
This is separate to max_pastie_size, which is just the
size of one of the values in the POST data.
2017-06-02 09:23:35 +01:00
7549c0e664
Don't crash when a pastie doesn't exist, redirect to error page instead.
2017-05-23 20:15:41 +01:00
810c321515
Redirects always use 3xx status codes.
2017-05-18 22:38:09 +01:00
10da16051c
Organize exceptions so it's easy to log errors locally.
2017-05-16 18:54:00 +01:00
8585e5baf5
Calculate string lengths at build time.
2017-05-15 23:38:39 +01:00
00f32d43d3
Fix displaying error messages in error response.
2017-05-15 21:46:35 +01:00
57dc0c7717
Add reason_code to string lookup.
2017-05-14 03:43:38 +01:00
ec80734625
Add http status codes and save dummy error into the mstch context.
2017-05-14 03:38:41 +01:00
4d31323bb1
Redirect to error.cgi when saving fails.
...
Not working yet, still getting there.
2017-05-12 22:46:54 +01:00