Skip to content

fix(shared): bound the file-link label so bracket runs stop rescanning - #5782

Merged
t3dotgg merged 1 commit into
pingdotgg:mainfrom
btsouth:fix/bound-file-link-label
Aug 9, 2026
Merged

t3dotgg merged 1 commit into
pingdotgg:mainfrom
btsouth:fix/bound-file-link-label

fix(shared): bound the file-link label so bracket runs stop rescanning

9b71e34
Select commit
Loading
Failed to load commit list.
MacroscopeApp / Macroscope - Approvability Check succeeded Aug 9, 2026 in 3m 36s

Approved (click on check for details)

  • Eligibility
  • Correctness

Note

More information about how approvability works can be found in our Help Center.

Details

Eligibility
This is a straightforward performance bug fix that bounds a regex to prevent quadratic backtracking on pathological input. The 512-character limit is generous (max filename is 255) and includes comprehensive tests verifying the boundary behavior.

Notes:
No code owners found in target merge base 05eb051