Commit Graph

30 Commits

Author SHA1 Message Date
pascalc
2e920a5e56 enlève les appels à get_server_name() partout sauf dans un appel à sendMail(), réécriture de la fonction pour cet usage 2013-03-04 19:46:06 +01:00
pyg77
4c6fc65603 Merge pull request #40 from fevrier/optional_REMOTE_USER
Rend optionnelle l'utilisation de la variable REMOTE_USER
2013-02-27 05:44:41 -08:00
pyg77
9ac3da3c03 Merge pull request #46 from fevrier/fix_email_encoding
Fix email encoding
2013-02-27 05:42:50 -08:00
Jean-Philippe Guérard
caf84064df Fix last header line size calculation
The "From: " prefix size was not taken into accounts when
calculating how many characters were on the last header line
produced by mb_encode_mimeheader.

This is used to check if the e-mail address should be
placed on a separate line.
2012-01-18 00:51:23 +01:00
Jean-Philippe Guérard
87c0dd21f6 Replace CRLF in headers by LF 2012-01-18 00:45:31 +01:00
Jean-Philippe Guérard
86fc583c26 Force multibyte functions internal encoding 2012-01-18 00:41:23 +01:00
Jean-Philippe Guérard
3908d13b4a Another syntax fix 2012-01-18 00:33:42 +01:00
Jean-Philippe Guérard
12a07f1407 Fix the mb_encode_mimeheader call syntax 2012-01-18 00:29:57 +01:00
Jean-Philippe Guérard
546385a128 Header encoding done with std functions 2012-01-18 00:24:16 +01:00
Jean-Philippe Guérard
a84355c438 Add some missing semicolon 2012-01-11 20:45:13 +01:00
Jean-Philippe Guérard
bebfc4b4e7 Headers separation fix
Fix the header separating character (needs to be \r\n).
Merge header creation with sendEmail.
2012-01-11 20:34:37 +01:00
Jean-Philippe Guérard
e3e9683be0 The removal function needs access to the database 2012-01-11 00:02:02 +01:00
Jean-Philippe Guérard
f86f2e3d76 Put sondage deletion in a function 2012-01-10 23:28:21 +01:00
Jean-Philippe Guérard
139e4ba9a6 Add a missing parenthesis 2012-01-10 00:34:44 +01:00
Jean-Philippe Guérard
09d89d117b Always decode HTML entities 2012-01-10 00:27:09 +01:00
Jean-Philippe Guérard
bd13da4b58 Syntax error 2012-01-09 02:23:28 +01:00
Jean-Philippe Guérard
f8f277e929 Fix encoding of the From header 2012-01-09 02:18:25 +01:00
Jean-Philippe Guérard
1059a4108a Make it work if To is only an address 2012-01-09 01:55:07 +01:00
Jean-Philippe Guérard
848dcc5370 Fix encoding for To and Subject headers 2012-01-09 01:26:44 +01:00
Jean-Philippe Guérard
23464be59b Add an option to disable the use of REMOTE_USER 2011-12-29 20:32:33 +01:00
Simon Leblanc
022b96e5fa Modification de la feuille de style d'impression 2011-06-27 01:34:06 +02:00
Simon Leblanc
63ebe90f63 Correction sur plusieurs URL et modification de la fontion get_server_name pour supprimer des problèmes dans l'administration 2011-06-25 20:23:40 +02:00
pyg77
588b0e4688 Nombreuses modifs de forme (CSS, graphisme) et qq modifs de fond 2011-06-23 01:21:56 +02:00
Simon Leblanc
f6caac6e35 remove js in html header : no js control in keypress for not allow enter 2011-05-22 02:42:28 +02:00
Simon Leblanc
c56e3b3b4d Clean URL and add title of poll in head 2011-05-20 02:52:22 +02:00
Simon Leblanc
82ea497112 Add a function to test user params 2011-05-15 04:49:16 +02:00
Simon Leblanc
4f380d8f8d clean code (identation, if with {) 2011-05-15 03:56:54 +02:00
Simon Leblanc
4eb0a46238 mail injection bug 2011-05-15 01:47:36 +02:00
Simon Leblanc
2dd5ce6402 Clean and protect get_sondage_from_id function 2011-05-15 01:43:25 +02:00
Simon Leblanc
475556c0e3 STUdS fork 2011-05-15 01:32:47 +02:00