https://www.icyphoenix.com/viewtopic.php?f=35&t=3560
-----------------------------------
farrotz
Mon 04 Feb, 2008 19:24

Problem With Nickname
-----------------------------------
Hi to all!
i've one problem with a nick name of a man in my site.

his nickname is: "Luca&Cecy"  (without "") 

But the site view in all page: "Luca&Amp;Cecy"

In the DB there is the correct name... in i go to acp and find Luca&Cecy the site find this name... but all the site view Luca&Amp;Cecy!

I've server linux install icyphoenix!

See this for example: http://www.marcheinmoto.com/viewtopic.php?f=19&t=4170

thanks


-----------------------------------
Limun
Mon 04 Feb, 2008 20:49

Re: Problem With Nickname
-----------------------------------
i m just registred in your forum with luca-cecy because & is not suported for usernames

see picture 

 [img]http://www.icyphoenix.com/files/images/3336/luca.jpg[/img]


-----------------------------------
farrotz
Mon 04 Feb, 2008 22:47

Re: Problem With Nickname
-----------------------------------
very very thanks....


-----------------------------------
moreteavicar
Tue 05 Feb, 2008 01:44

Re: Problem With Nickname
-----------------------------------
Yes there is a reason for not allowing '&' and various other symbols - because they can lead to remote file inclusions and other forms of hacking! 

For your info this "stripping" is due to a function located in includes/functions.php - the function is called phpbb_clean_username($username).
You could modify it, if you wanted to allow symbols, though that really wouldn't be advisable ;)


