stefanfoulis/django-filer — pull request #319 by kux (2013-06-05 08:31:27+00:00)
Title: Fixed issue with folder names that contain quotes and are being used in a directory table/list popup

If a folder contains a single quote and is being used in a folder directory/list popup
the generated onclick attribute for the insert link contains broken javascript:
onclick="opener.dismissRelatedFolderLookupPopup(window, 3, '/Foo's Bar/whatever'); return false;"
(notice the quote in Foo that chops the function's third string argument)

Added a new method that returnes a url quoted pretty logical path. This can be used for the onclick attributes.