diff options
author | Bharat Mediratta <bharat@menalto.com> | 2009-09-08 21:02:45 -0700 |
---|---|---|
committer | Bharat Mediratta <bharat@menalto.com> | 2009-09-08 21:02:45 -0700 |
commit | 3bd8be2651d22f9dbe3d0302df15a3cb2ef1d729 (patch) | |
tree | ae9938d028dc221052878005eb8f0ea465dbaabe /modules/notification | |
parent | 6cfcab2a5ee054e6e04857c86fbd363895e5ea83 (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 'modules/notification')
0 files changed, 0 insertions, 0 deletions