urlify bug with '?'

Issue #41 resolved
Mike Orr
created an issue

Reported on pylons-discuss by mcd34@gmail.com:

Ran across an interesting situation while working with my nephew on a webapp. While creating a url slug using urlify, his existing url had a ? in it. While a ? is valid for a url string, as are a number of other characters, it does have some special significance that other characters don't have.

It was easy enough to modify the code for that particular use case, but figured I might raise the issue.

A string like:

What is this? It is a car.

could potentially break routing as a portion of the slug would be part of the query string.

Comments (1)

  1. Log in to comment