aboutsummaryrefslogtreecommitdiff
path: root/gpigeon-template.cgi
diff options
context:
space:
mode:
authorMiquel Lionel <lionel@les-miquelots.net>2021-07-15 19:26:38 +0100
committerMiquel Lionel <lionelmiquel@sfr.fr>2021-07-15 19:26:38 +0100
commit8a833dde23b0bbcf74643cc04e52165c63606e83 (patch)
treebb5796a0c25713a8b16068f80381af9590381918 /gpigeon-template.cgi
parent4989f4ee89d55ca9158eeebce726db680aa19630 (diff)
downloadgpigeon-8a833dde23b0bbcf74643cc04e52165c63606e83.tar.gz
gpigeon-8a833dde23b0bbcf74643cc04e52165c63606e83.zip
uncomment my $mimetype line, it's important.
Also, we did a better cleanup: - GPG module is not used anymore. So, the $enc_gpg variable doesn't make sense anymore and we got rid of it. - We applied the auto unlinking we did in the database version branch. I was sure I already put to pratice on this branch, my memory fails me... Got rid of $linkfilename variable. - We updated the README.md about our dependencies and features (file upload is supported now)
Diffstat (limited to 'gpigeon-template.cgi')
-rwxr-xr-xgpigeon-template.cgi1
1 files changed, 0 insertions, 1 deletions
diff --git a/gpigeon-template.cgi b/gpigeon-template.cgi
index 8266faa..59c3a48 100755
--- a/gpigeon-template.cgi
+++ b/gpigeon-template.cgi
@@ -248,7 +248,6 @@ if (ValidCookie($id_cookie, $cookies_dir) or argon2id_verify($argon2id_hash,$pw)
open my $out, '>', $link_path or die "Can't write to link file: $!";
while( <$in> ) {
s/{link_user}/{$link_asker}/g;
- s/{link_filename}/{$generated_form_filename}/g;
s/{link_web_title}/$text_strings{link_web_title}/g;
s/{link_send_btn}/$text_strings{link_send_btn}/g;
s/{type_msg_below}/$text_strings{type_msg_below}/g;