This project is read-only.

Bug with url enconding of slug

Topics: Business Logic Layer
Aug 14, 2007 at 6:00 PM

I think there's a bug with the url enconding of the slug and the generation of the local link for post. Try this to reproduce:

1. Create a post with title Apresentação
2. Create slug from title clicking "Extract from title". Generates the following slug: Apresenta%c3%a7%c3%a3o
3. Save post. This gives a HTTP 400 error (Bad Request). In spite of the error, the post gets saved.
4. go to the blogs front page and check the link that was generated for the post, something like:


5. following that link always throws Bad Request.

It seems that the slug is getting url encoded twice and the original % characters are encoded to %25.

Aug 14, 2007 at 8:07 PM
This discussion has been copied to a work item. Click here to go to the work item and continue the discussion.