Skip to content

fix: escape password and quote ids in create_mimic_user#2084

Open
Chessing234 wants to merge 1 commit into
MIT-LCP:mainfrom
Chessing234:fix/create-user-escape-password
Open

fix: escape password and quote ids in create_mimic_user#2084
Chessing234 wants to merge 1 commit into
MIT-LCP:mainfrom
Chessing234:fix/create-user-escape-password

Conversation

@Chessing234

@Chessing234 Chessing234 commented Jul 19, 2026

Copy link
Copy Markdown
Contributor

Summary

  • escape ' in MIMIC_PASSWORD for the SQL string literal
  • quote MIMIC_USER / MIMIC_DB as postgres identifiers

Test plan

  • MIMIC_PASSWORD="a'b" succeeds
  • MIMIC_USER with hyphen/odd chars creates cleanly

@Chessing234 Chessing234 changed the title fix: escape single quotes in create_mimic_user password fix: escape password and quote ids in create_mimic_user Jul 19, 2026
@Chessing234
Chessing234 force-pushed the fix/create-user-escape-password branch from 1f0634d to 95938de Compare July 19, 2026 17:31
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