History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: CACHE-110
Type: Improvement Improvement
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Andres March
Reporter: Christian Nedreg?rd
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
OSCache

DiskPersistenceListener should escape '?'

Created: 27/Sep/04 07:58 AM   Updated: 01/Mar/05 12:56 AM
Component/s: None
Affects Version/s: 2.0.2
Fix Version/s: 2.1.1

Environment: Windows XP


 Description  « Hide
We had to pathc OSCache 2.0.2 to be able to use URLs as keys with disk persistance on windows.

The reason for this is that the URL query character '?' is not on the escape list and windows do not allow the caracter in filenames.

The fix was to add a new case entry at line 371 of DiskPersistenceListener:

case '?':

 All   Comments   Change History      Sort Order:
Lars Torunski - [27/Feb/05 08:04 AM ]
Char ? will be escaped now and the fix guarantees that the filenames will be unique basec on the cache key.