-
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix disk LRU cache key formatting error
We check and modify all the alphabetic ascii to lowercase, and then we replace not permitted char with "_" We also add a checksum to the key to avoid collisions in some cases. Fix the issue related to: Failed to get Bitmap from DiskLruCache:keys must match regex [a-z0-9_-]{1,64}: "https://igalia.github.io/wolvic-3D-environments/spring/spring.png" -> "585e57a6_https___igalia_github_io_wolvic-3d-environments_spring_" Now we can access the external environments bitmap offline after they have been loaded once. Signed-off-by: Songlin Jiang <[email protected]>
- Loading branch information
1 parent
c86d8cf
commit 8be0c27
Showing
1 changed file
with
23 additions
and
5 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters