Use unicode/emoji symbols in album name #748

Open
opened 2026-10-05 00:15:29 +02:00 by adam · 2 comments
Owner

Hi there,

It is not possible to write an emoji in the album name (not tested in other field), it submits without error but erases completely the content of the album name's input field.
A work around is to enter the unicode HTML code.

Here is an example of use : https://leo.lstronic.com/piwigo/index.php?/category/70

Léo

Hi there, It is not possible to write an emoji in the album name (not tested in other field), it submits without error but erases completely the content of the album name's input field. A work around is to enter the unicode HTML code. Here is an example of use : https://leo.lstronic.com/piwigo/index.php?/category/70 Léo <!-- github-sync-id:284935291 -->
Author
Owner

It would be nice to also have this in the search functions. Our site has been wanting to implement "emoji search" (eg: user searches using basketball emoji, brings them to the basketball album) :)

Opening up this can of worms, it is very important that XSS vulnerabilities are tested/we make sure < or > (also encoded/html symbol versions) don't spit out and form html - just text. Critically important to make sure that when the query is being written to the database as a search term, that it doesn't break and use SQL. (SQL injection).

It would be nice to also have this in the search functions. Our site has been wanting to implement "emoji search" (eg: user searches using basketball emoji, brings them to the basketball album) :) Opening up this can of worms, it is very important that XSS vulnerabilities are tested/we make sure < or > (also encoded/html symbol versions) don't spit out and form html - just text. Critically important to make sure that when the query is being written to the database as a search term, that it doesn't break and use SQL. (SQL injection). <!-- github-comment-id:369367441 -->
Author
Owner

Hi piwigo,
is there any progress on this? emoji are state of the art, and always present.
Is it possible to work on this issue?

thx
Ralf

Hi piwigo, is there any progress on this? emoji are state of the art, and always present. Is it possible to work on this issue? thx Ralf <!-- github-comment-id:1066428948 -->
Sign in to join this conversation.
No labels
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: adam/Piwigo#748