Title: Why "encodeForHTMLAttribute" encodes '@' too? · Issue #4 · ESAPI/node-esapi · GitHub
Open Graph Title: Why "encodeForHTMLAttribute" encodes '@' too? · Issue #4 · ESAPI/node-esapi
X Title: Why "encodeForHTMLAttribute" encodes '@' too? · Issue #4 · ESAPI/node-esapi
Description: The function encodeForHTMLAttribute encodes the symbol '@' too. However, if we have such an element:
route-pattern /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) route-controller voltron_issues_fragments route-action issue_layout fetch-nonce v2:b858fa8e-0466-5e9b-8d97-74f71ace1166 current-catalog-service-hash 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 request-id 8B5E:166E9D:2F05AC5:3F18342:6971DB24 html-safe-nonce 6e5ec3e1e1e47707623a757ac345ba700d5c6ab3fece6d25441ee5425ab3f42c visitor-payload eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI4QjVFOjE2NkU5RDoyRjA1QUM1OjNGMTgzNDI6Njk3MURCMjQiLCJ2aXNpdG9yX2lkIjoiNzM1MzgyMzUxMTEyMzcxMjgwNCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 visitor-hmac 3bde8e689e000cc80989f6e22aa7001f9706983c9e12ebc7baa25bbeb505f46c hovercard-subject-tag issue:246581742 github-keyboard-shortcuts repository,issues,copilot google-site-verification Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I octolytics-url https://collector.github.com/github/collect analytics-location / fb:app_id 1401488693436528 apple-itunes-app app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/ESAPI/node-esapi/4/issue_layout twitter:image https://opengraph.githubassets.com/a80e8f173354d92429070f1acc2a2b493515609663cb8f2e8fe18035849c2a81/ESAPI/node-esapi/issues/4 twitter:card summary_large_image og:image https://opengraph.githubassets.com/a80e8f173354d92429070f1acc2a2b493515609663cb8f2e8fe18035849c2a81/ESAPI/node-esapi/issues/4 og:image:alt The function encodeForHTMLAttribute encodes the symbol '@' too. However, if we have such an element: https://patch-diff.githubusercontent.com/ESAPI/node-esapi/issues/4#top https://github.com/ipeychev https://github.com/ipeychev ipeychev https://github.com/ipeychev on Jul 30, 2017 https://github.com/ESAPI/node-esapi/issues/4#issue-246581742
https://github.com Terms https://docs.github.com/site-policy/github-terms/github-terms-of-service Privacy https://docs.github.com/site-policy/privacy-policies/github-privacy-statement Security https://github.com/security Status https://www.githubstatus.com/ Community https://github.community/ Docs https://docs.github.com/ Contact https://support.github.com?tags=dotcom-footer
Viewport: width=device-width