Commit Graph

20 Commits

Author SHA1 Message Date
tastytea de7e61a2fe
Update copyright years. 2019-02-28 19:49:46 +01:00
tastytea 1a4ebaf024
Fixed the bug introduced by latest bugfix. m(
We included ?/& in the search, but forgot to set the pos +1 char to
the right.
2019-02-28 19:05:27 +01:00
tastytea 3f32e4ff51
Bugfix: "forcedefault" would be treated as "default". 2019-02-28 18:54:50 +01:00
tastytea d2d35d8ac5
If requested size is < 0, return 80px image. 2018-12-09 19:54:38 +01:00
tastytea 3bdcd7b120
Include only necessary Magick++-headers. 2018-12-01 11:33:32 +01:00
tastytea 06a1bfccd9
Exit with error code 1 if request is bad 2018-11-30 06:54:56 +01:00
tastytea 268ff7ab6f
If size=0, return standard size(80px) 2018-11-29 13:43:56 +01:00
tastytea f670c1c8a1
Abort if favicon is requested. 2018-11-28 17:29:08 +01:00
tastytea 3e037d4936
Changed the HTTP Status responses to be more accurate 2018-11-28 10:31:20 +01:00
tastytea fbf7437dd9
Added settings to redirect to libravatar.org if the user was not found
or the fallback is unknown.
2018-11-27 16:56:00 +01:00
tastytea 50d902bcc9
Removed debug statement 2018-11-27 05:00:19 +01:00
tastytea f793a86af2
Bugfix: Remove file extensions from digest with no parameters in URL 2018-11-27 04:50:03 +01:00
tastytea ed83a9c4a8
Remove file extensions from digests.
Gravatar supports file extensions, so we might come across them.
2018-11-27 04:22:21 +01:00
tastytea df50807eeb
Catch non-numeric size and ignore it 2018-11-26 05:29:39 +01:00
tastytea 4da9a2144e
Changed invalid URL detection to support default image URLs 2018-11-26 05:06:27 +01:00
tastytea d9fab6928b
Implemented default URL for missing images (#2) 2018-11-26 05:00:07 +01:00
tastytea 9ff1cc0acf
Added algorithm include, fixed off-by-one error in http::get_parameter() 2018-11-26 04:27:11 +01:00
tastytea 75841d87a4
Restricted image size.
Fixes #1
2018-11-26 04:20:27 +01:00
tastytea b8ca3f6d13
Made a function for parameter parsing 2018-11-26 04:19:58 +01:00
tastytea c0c31f5093
Put the request parsing into a dedicated file. 2018-11-26 04:08:03 +01:00