GetSimple Support Forum

Full Version: Bug when user types a wrong (invalid) slug
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I found a small but annoying bug. Don't really know how to reproduce it as I just found it but I think GS didn't validate the slug I typed when creating a new page.

I created a page and wrongly left a space at the end of the slug name, the XML file was created with that space and the extension was appended to that name, e.g.: "about .xml". The page is created correctly, all data is saved, and the page is listed in the admin interface but if I try to access it, either in the admin interface or the front-end, I get a "page doesn't exist" error.

I'll try to find out more and see if I can provide a fix, just posting so that I don't forget Smile and so that anyone else can correct the issue if they have the time.

As a work around, one can just rename the XML file to remove the space.
Thanks again Knitter.

Sorted in the latest SVN

Mike.