" - |+ " and " - |" what is the difference #1876
-
" - |+ " and " - |" what is the difference thanks |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 2 replies
-
https://nuclei.projectdiscovery.io/template-examples/http-smuggling/ |
Beta Was this translation helpful? Give feedback.
-
@hktalent |
Beta Was this translation helpful? Give feedback.
-
They are standard YAML syntax for working with multi-line strings. Block scalarsBlock style indicatorsIndicates how newlines inside the block should behave
Block chomping indicatorsControls what should happen with new lines at the end of a string
TL;DR
For more information, visit: https://yaml-multiline.info/ |
Beta Was this translation helpful? Give feedback.
@hktalent
They are standard YAML syntax for working with multi-line strings.
Block scalars
Block style indicators
Indicates how newlines inside the block should behave
|
(literal style): new lines are kept as new lines>
(folded style): new lines are replaced by spacesBlock chomping indicators
Controls what should happen with new lines at the end of a string
-
(strip): removes all new line characters from the end of the string+
(keep): keeps all new lines at the endTL;DR
|+
: keep all manually inserted new lines at the end of the string block|
: only one new line …