Skip to content
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 for issue 256 and the double html encoding of CWE example data. #265

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

manjula-aw
Copy link

  1. Fixed Example "/tm.py --report docs/basic_template.md | pandoc -f markdown -t html > tm/report.html" failing #256
  2. removed HTML encoding the "threats" as
  • it makes the payload data in the 'examples' section of the final HTML report show incorrectly.
  • Pandoc encodes HTML during HTML generation, while still allowing users to see the correct representation visually.
  • Threats and findings come from bundled threat.json, not something entered by the user or written by the end-user.

… html encoding during html generation.

related to OWASP#256
Update threats.json to fix issues/256
Update pytm.py - remove html encoding markdown data, as pandoc do the…
@manjula-aw manjula-aw requested a review from izar as a code owner February 26, 2025 11:55
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.

Example "/tm.py --report docs/basic_template.md | pandoc -f markdown -t html > tm/report.html" failing
1 participant