harvard-lil/perma — pull request #554 by jcushman (2014-06-13 03:30:16+00:00)
Title: Tweak guid handling.

I noticed our more-flexible code to handle mdashes in guids was also pulling in stuff like /robots.txt (which should just 404) and /media/foo in the dev server. So this refuses to match guids with . or / in them. I also stuck the mdash handling code into the get_canonical_guid function since it seemed to make sense there.