Skip to content

Replace erubi with stdlib ERB - #101

Merged
pcai merged 2 commits into
mainfrom
deps/stdlib-erb
Sep 14, 2026
Merged

pcai merged 2 commits into
mainfrom
deps/stdlib-erb

Conversation

@pcai

@pcai pcai commented Sep 14, 2026

Copy link
Copy Markdown
Contributor

Reimplementation of @fwininger's change in Cyberwatch/winrm-fs@b8f961f.

Drops the erubi runtime dependency in favor of stdlib ERB. Beyond removing the dependency, this fixes a latent bug: Erubi HTML-escapes <%= path %>, so a Windows path containing & was corrupted to &amp; in the generated PowerShell script.

Note: the analogous swap was deliberately NOT made for WinRM's create_pipeline.xml.erb, which relies on Erubi's escaping for valid XML.

@pcai
pcai merged commit 9519674 into main Sep 14, 2026
15 checks passed
@pcai

pcai commented Sep 14, 2026

Copy link
Copy Markdown
Contributor Author

@fwininger thank you

@pcai
pcai deleted the deps/stdlib-erb branch September 14, 2026 13:11
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