summaryrefslogtreecommitdiff
path: root/lib/jquery.js
diff options
context:
space:
mode:
authorBharat Mediratta <bharat@menalto.com>2009-09-08 21:02:45 -0700
committerBharat Mediratta <bharat@menalto.com>2009-09-08 21:02:45 -0700
commit3bd8be2651d22f9dbe3d0302df15a3cb2ef1d729 (patch)
treeae9938d028dc221052878005eb8f0ea465dbaabe /lib/jquery.js
parent6cfcab2a5ee054e6e04857c86fbd363895e5ea83 (diff)
Change the relative_path_cache and relative_url_cache columns to store
urlencoded data for ease of use when we're dealing with the data. This fixes ticket #569 by not allowing the urls that we put into our RSS feeds to have bad characters in them. We have to convert a path like var/albums/foo/"quotes"/bar.jpg into something like var/albums/foo/%22quotes%22/bar.jpg. If we take the approach of storing native data in the cache, then we have to explode the path, urlencode the bits, and implode it again to avoid escaping the / char. By storing it escaped, we avoid this problem. I believe (but have not tested) that this is more efficient.
Diffstat (limited to 'lib/jquery.js')
0 files changed, 0 insertions, 0 deletions