Piwigo icon indicating copy to clipboard operation
Piwigo copied to clipboard

[users & groups] Admin notification of a new user and special characters

Open plegall opened this issue 10 years ago • 2 comments

Reported by benoit on 29 Aug 2011 21:02

Version: 2.2.4

When the admins are notified with the subscription of a new user, the link provided fails when the username contains special characters (well... at least when the username contains a space).

Example (in french) :

Utilisateur: Gabriel DUPONT Email : [email protected]

Administration : http://mysite.fr/admin.php?page=user_list&username=Gabriel DUPONT

Utilisateur connecté : visiteur IP : 1.2.3.4 Navigateur : Mozilla/5.0 (Macintosh; Intel Mac OS X 10_5_8) AppleWebKit/534.50.2 (KHTML, like Gecko) Version/5.0.6 Safari/533.22.3


Piwigo Bugtracker #2419

plegall avatar Jul 25 '15 13:07 plegall

Comment posted by benoit on 5 Sep 2011 15:44

Un bug un peu différent, mais cependant très proche :

Lorsqu'on a une apostrophe dans le nom d'utilisateur, le caractère d'échappement n'est pas retiré du sujet du courriel. Exemple :

« [Ma galerie photo] 12 photos ajoutées par Valéry Giscard d'Estaing »

plegall avatar Jul 25 '15 20:07 plegall

@MatthieuLP could we add a "user=" in the URL of page=user_list ? We would change the URL sent by email to administrators.

plegall avatar Apr 22 '23 15:04 plegall