1
0
Fork 0
mirror of https://github.com/KingDuckZ/kamokan.git synced 2024-11-23 00:33:44 +00:00
Commit graph

269 commits

Author SHA1 Message Date
31890ba5e4 Allow retrieval of pasties 2017-04-06 23:28:57 +01:00
091746e9b6 Disable debug output 2017-04-06 23:11:11 +01:00
2b54349e0e Rename envy to cgi_environment_vars. 2017-04-06 23:05:08 +01:00
81cf36de22 Rename CGIEnv to cgi::Env 2017-04-06 23:02:17 +01:00
fa33944919 Unescape + to space correctly 2017-04-06 22:57:44 +01:00
33c52b88d5 Rename submit form to submit paste. 2017-04-06 22:45:44 +01:00
dbd1a3a90a Submitting a paste and saving to redis works! 2017-04-06 22:42:43 +01:00
e32cecedba Print to stderr otherwise it disturbs the response. 2017-04-06 21:47:28 +01:00
98d98fc4ba Step up work on responses. 2017-04-06 21:27:38 +01:00
cc20a8ccfb Add CurlWrapper class and use it to escape GET/POST values.
Use the new code to print the values from the request.
2017-04-06 20:15:44 +01:00
6a502df135 New free function to get POST values. 2017-04-06 20:12:44 +01:00
e9d54c3ff5 Rename function. 2017-04-05 20:32:46 +01:00
cd72d374c5 query_string() should return the raw GET string. 2017-04-05 20:07:42 +01:00
3fb4df637e A basic implementation of make_token().
Simply converts the given number into base 26.
2017-04-05 20:04:21 +01:00
5ed8e782aa The environment never changes so these functions can be pure. 2017-04-05 09:29:02 +01:00
384417581f Commit CGI documentation. 2017-04-05 09:26:17 +01:00
3df7a4c5d3 Implement code that splits version infos.
According to the docs, the version info is
something like LALALA/X.X with X being a single digit.
2017-04-05 09:25:25 +01:00
f8d6796fc1 Wrap environment in a class. 2017-04-05 08:41:49 +01:00
fea5b738df First commit 2017-04-04 20:58:40 +01:00