Layout & Kategories Page Broken

ladogado

New Member
After adding a categorie with the name "MMORPG's" The Layout & Kategories page can not be accessed anymore => Blank page.

It seems the " ' " is causing it.
 

Anna

Member
In general " ' " is not a good idea to use in any description of naming since it is used in the coding itself, hence I believe confusing the script. Do you really HAVE to write MMORPG's? What is wrong with MMORPGs? Really do not believe that there would be any language police around. At least I do hope our world is free of it!
 

Basti

Administrator
Staff member
You and Anna are both correct.
In the future we handle categories a little different, properbly in 0.8
So whe you create a category, you can name it whatever you want. It will then be saved as 2 different versions, one for the html output and 1 which is url save ( ' also not good for url, especially with clean_urls ).
In addition to that we make sure to make ' " and such generally programming language chars, db safe. Currently they are not escaped \' i think, which make it valid to insert / output and dont throw php errors

Sometimes its hard to enhance an existing script :)
For now, pls use a-z 0-9
 
Top