Cache Tag Collision

Created on 28 July 2025, 3 months ago

Problem/Motivation

When the hashing functions were improved something was added that could cause cache tags to collide due to making them case insensitive.

The CHARS_INDEX in the cache manager is case sensitive. However when applying the hash it is converted to lower case allowing hashes to collide. I also noticed a duplicate/missing character in the index itself. It seems like a 'Q' was added twice and a 'A' is missing.

Proposed resolution

Update the compressTag tag function in the Cache Manager to no lowercase the hash and update the Character Index to remove the duplicate Q and add an A.

πŸ› Bug report
Status

Active

Version

4.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States EJSeguinte

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Production build 0.71.5 2024