Skip to content

Avoid risk of bad dirname when username is unusual#70

Merged
gjsjohnmurray merged 5 commits intointersystems-community:mainfrom
gjsjohnmurray:fix-67
Apr 21, 2026
Merged

Avoid risk of bad dirname when username is unusual#70
gjsjohnmurray merged 5 commits intointersystems-community:mainfrom
gjsjohnmurray:fix-67

Conversation

@gjsjohnmurray
Copy link
Copy Markdown
Collaborator

@gjsjohnmurray gjsjohnmurray commented Apr 14, 2026

This PR fixes #67. When a username doesn't match regex /^[A-Za-z0-9.]*$/ we now name its server-side folder using the base64 encoding of the username, prepended with @. As a convenience we also write the unencoded username into a file named _username.txt in the folder.

@gjsjohnmurray gjsjohnmurray changed the title Fix 67 Avoid risk of bad dirname when username is unusual Apr 14, 2026
@gjsjohnmurray gjsjohnmurray merged commit 4350919 into intersystems-community:main Apr 21, 2026
5 checks passed
@gjsjohnmurray gjsjohnmurray deleted the fix-67 branch April 21, 2026 18:51
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.

Using IRIS usernames as folder names for test suites can break on invalid characters or leading hyphen

1 participant