Mohammed Al Sahaf

Results 250 comments of Mohammed Al Sahaf

There's [`html` function](https://pkg.go.dev/text/template#hdr-Functions) to which you can pipe the output of `httpInclude`. You can just do `{{ httpInclude | html }}`, and it'll escape the HTML out of the output.

Ok, now I understand after seeing the example, and the issue title makes sense. Sorry for the confusion.

> What's a good word other than "include" or "import" for that? How about `includeRaw`?

Perhaps `rawInclude` is better to be analogous with `httpInclude`

> @mohammed90 just checking in too see if everything for the PR looks good ? At first glance, it looks fine, but I haven't had the time to review it...

Good enough for me for now. It resolves many concerns. We can audit outbound calls here: https://app.stepsecurity.io/github/caddyserver/actions/runs. Resolving the scorecard generation for PRs can be tackled later.

> What if we found a sponsor to fund really solid build infrastructure? I don't know. I feel like it's a distraction from our main focus, which is building Caddy...

The module for the extracted commands is pushed here: https://github.com/caddyserver/mutable-caddy

Thank you for the report! Can you provide more details? Ideally, we need to be able to reproduce the bug _in the most minimal way possible_. This allows us to...