-
-
Notifications
You must be signed in to change notification settings - Fork 339
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix double-escaping of the curl and Python example code #709
Conversation
These code fragments are escaped when they are substituted into the `silk/request.html` template, so they should not be escaped an extra time when they are constructed.
for more information, see https://pre-commit.ci
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #709 +/- ##
==========================================
+ Coverage 86.76% 86.80% +0.04%
==========================================
Files 52 52
Lines 2115 2115
==========================================
+ Hits 1835 1836 +1
+ Misses 280 279 -1 ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hello again @SpecLad, this patch looks good to me, and ready for release.
One more pass from the team and we are good to go, @Archmonger can you take a look at this?
CC: @albertyw
Sure I can review this tomorrow, but I'm technically not an admin for this repo. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Seems like fairly simple and straightforward fix. I'm good with this change.
The proper course of action would be to wait for a project lead such as @albertyw to approve this.
These code fragments are escaped when they are substituted into the
silk/request.html
template, so they should not be escaped an extra time when they are constructed.Fixes #688.