Skip to content

Still same before and after in example (#848) #853

@owlsy

Description

@owlsy

(Issue is referencing #848)
@an-martynova


Description

Since creating this issue, I noticed that in the commit history, the correction was made and the space was removed after Host:, and then the most recent commit reversed it back with the space added again. Now they are both the same again, and my original issue has been marked as closed.

Preview was deployed to: https://pull-request-852.kb-adg.pages.dev/

Originally posted by @github-actions[bot] in #852 (comment)




If I am understanding the intention of what the example is trying to achieve, remove the space after Host: in the second entry of the example, and add a second space between GET and /foo/bar/, which I was able to do using the Unicode em space (8195 in UTF-8) directly, as just using two regular spaces will not correctly show on the page.

From:

GET /foo/bar/ HTTP/1.1 Host: example.org

To:

GET  /foo/bar/ HTTP/1.1 Host:example.org


Completed Markdown:

### Add an extra space to the plain HTTP request

Adds extra space between the HTTP method and the URL and removes space after the "Host:" field to avoid deep packet inspection. For instance, the request

`GET /foo/bar/ HTTP/1.1 Host: example.org`

will be converted to

`GET  /foo/bar/ HTTP/1.1 Host:example.org`

This option is only applied when the *Protect from DPI* Stealth mode option is enabled.

Metadata

Metadata

Assignees

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions