Commit Graph

15 Commits

Author SHA1 Message Date
qorg11 082d1ae23a
Make lainsafe change the name repleace the spaces in the url with %20
for weird browsers and weird clients (poezio i'm looking at you)
2021-03-23 12:43:31 +01:00
qorg11 ffd96c69cc
Modified the way that lainsafe stores files
Now it creates a directory for the new file, with a random name, and
and stores the file with the original filename in there, so .tar.gz
issue is fixed.
2021-01-30 22:25:07 +01:00
qorg11 100c1666f3
Default file size to 100MB 2020-11-26 21:57:53 +01:00
qorg11 ac4c841e64
Stop if request method is GET 2020-11-15 02:48:42 +01:00
qorg11 68d9f1e56e
Change the .cgi extension to .notcgi so the stupid http server doesn't try to execute it 2020-11-14 22:48:02 +01:00
qorg11 706d73d151
Fixed the download-link spitting 2020-09-13 00:12:37 +02:00
Kyle Czar b6e32c25a5 Url formatting is handled by the server 2020-08-30 13:08:36 -03:00
qorg11 8a557ca108
Modified the way lainsafe renames file
Before this commit lainsafe would generate a random string
which can create coallition between two files and shit would
happen, after this commit, lainsafe generates its filenames by
getting the UNIX time in miliseconds (like 4chan)
2020-08-27 00:03:26 +02:00
qorg11 f5967c88c0
Fix indendation in http/upload.cgi 2020-07-01 17:50:58 +02:00
qorg11 430df19608
Now you can tell the shit which file extensions you can't upload 2020-06-30 00:05:55 +02:00
qorg11 f154c62f70
Added documentation 2020-04-30 01:05:50 +02:00
qorg11 810ef93471
Cleaned code. A bit. 2020-04-26 19:31:39 +02:00
qorg11 ee791ee09b
Added variable 2020-04-26 00:58:10 +02:00
qorg11 1b8373f03e
--file not needed anymore, cleaned up code in lainsafecli and upload.cgi 2020-04-22 02:49:13 +02:00
qorg11 4307938092
Initial commit 2020-04-19 16:39:34 +02:00