Skip to content

[codex] Fix backend regex unicode case support - #141

Merged
zerox80 merged 1 commit into
mainfrom
codex/fix-nginx-502-regex
Jun 24, 2026
Merged

[codex] Fix backend regex unicode case support#141
zerox80 merged 1 commit into
mainfrom
codex/fix-nginx-502-regex

Conversation

@zerox80

@zerox80 zerox80 commented Jun 24, 2026

Copy link
Copy Markdown
Owner

Summary

  • enable the unicode-case feature for the backend regex dependency
  • fixes the frontend proxy panic when compiling case-insensitive SEO meta tag regexes

Root Cause

The backend builds regex with default features disabled and only std enabled, but frontend_proxy.rs uses (?i) case-insensitive regexes. In the container this panics at request time, poisoning the lazy regex and causing nginx to return 502 because the upstream closes the connection.

Validation

  • cargo check in backend/

@zerox80
zerox80 merged commit 3f8fc97 into main Jun 24, 2026
1 of 3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant