Age | Commit message (Collapse) | Author | Files | Lines |
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
valid_id() cleans up the database if the file doesn't exists. This code
didn't.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
The javascript converts the content of the textarea to a HTTP POST
request and sends the text as a file upload.
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xinu.at>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
The interfaces shouldn't change anymore.
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Duplicating the link lines is no good fix so this needs to be cleaned up
later.
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Do not check the client version when downloading because this breaks
curl. Probably because we output and later set HTTP headers in
file_mod->download().
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
file_mod->download() depends on the trailing slash to determine whether
the user wants highlighting or not so we prevent it from being removed.
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
Signed-off-by: Florian Pritz <bluewind@server-speed.net>
|
|
There are still bots which are able to trick the hidden email field and
they upload phishing pages which let to paste.xinu.at being listed.
Signed-off-by: Florian Pritz <bluewind@xssn.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xssn.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xssn.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xssn.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xssn.at>
|
|
Bots tend to fill out all fields, so add a hidden "email" field that
will prevent the text from being saved.
Signed-off-by: Florian Pritz <bluewind@xssn.at>
|
|
geshi doesn't understand "html", but only html4strict
XML seems to be the best choice.
Signed-off-by: Florian Pritz <bluewind@xssn.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xssn.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xssn.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xssn.at>
|
|
Signed-off-by: Florian Pritz <bluewind@xssn.at>
|