XSS vulnerability fix
Brought to you by:
canajun2eh,
yalnifj
Fixes XSS vulnerability see https://sourceforge.net/p/phpgedview/discussion/185165/thread/01cd6b4f/
I did not test it a lot, so there may be side effects.