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

Donot Escape Extractor Output #4841

Closed
tarunKoyalwar opened this issue Mar 7, 2024 · 1 comment · Fixed by #4849
Closed

Donot Escape Extractor Output #4841

tarunKoyalwar opened this issue Mar 7, 2024 · 1 comment · Fixed by #4849
Assignees
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Milestone

Comments

@tarunKoyalwar
Copy link
Member

Nuclei version:

main | latest

Current Behavior:

image (1)

  • Earlier due to newlines in extractor output we quoted the extracted value but that affects json extracted value , since it cannot be directly used and need to manually unescaped since " are escaped
  • instead we can just escape newlines instead of escaping all special chars
@tarunKoyalwar tarunKoyalwar added the Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors. label Mar 7, 2024
@tarunKoyalwar tarunKoyalwar changed the title Donot Unescape Extractor Output Donot Escape Extractor Output Mar 7, 2024
@ehsandeep
Copy link
Member

quoted text in extractor impacing other cases like this:

image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Bug Inconsistencies or issues which will cause an issue or problem for users or implementors.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants