django-extensions/django-extensions — Issue #165: runprofileserver mangles paths with . in them when creating .prof files
Author: roysmith
Created: 2012-01-21 16:45:23+00:00
State: open

When runprofileserver turns routes into filenames, it just changes /'s into .'s.

I want to aggregate all the requests for a given route. It's pretty straight-forward to turn the .'s back into /'s and match against the regexes in urlpatterns, as long as my URLs didn't have any .'s to begin with. The problem is, mine do.

What runprofileserver should do when generating filenames is either leave the /'s alone (and build a tree structure in the file system), or do something like urllib.quote() the URLs when building the filenames.