Heigvd / Wegas

A Web Game Authoring System coded in Java and Javascript for rapid development of serious games without programming skills.
https://wegas.albasim.ch
MIT License
28 stars 15 forks source link

WEG-58 - Change pagination request method to POST #1969

Closed TehAwol closed 2 months ago

SandraMonnier commented 3 months ago

Some characters in the search field lead to an "Error: Failure" notification and an endless loading animation. Such as

"
!
#
%
³
♥

I found all these characters either in abstractaccount.firstname, abstractaccount.lastname, game.name or gamemodel.name.

It works fine for all these special characters + * ; , : . / [ ] ( ) @ - _ &

SandraMonnier commented 3 months ago

Y a encore un truc que je ne comprends pas. Dans la regex (^[\p{L} .'-()&[0-9]]*$), on a un -. Il est compris comme le symbole - ou c'est pour dire de ' à ?

TehAwol commented 3 months ago

It's the symbol "-" that is covered. Certain special characters are going to break the page regardless, the question also extends to whether users/games/gameModels should be allowed those special characters as names.