Header decoder failes #6

Closed
opened 4 months ago by Ground0 · 1 comments
Ground0 commented 4 months ago
Owner

Original:

GET /mazer/dist/auth-login.html?Test HTTP/1.1
Host: localhost:8446
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0
Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8
Accept-Language: de,en-US;q=0.7,en;q=0.3
Accept-Encoding: gzip, deflate, br
DNT: 1
Connection: keep-alive
Upgrade-Insecure-Requests: 1
Sec-Fetch-Dest: document
Sec-Fetch-Mode: navigate
Sec-Fetch-Site: none
Sec-Fetch-User: ?1

Decoded JSON:

{
   "accept-encoding:":"gzip, deflate, br",
   "sec-fetch-mode:":"navigate",
   "sec-fetch-dest:":"document",
   "dnt:":"1",
   "upgrade-insecure-requests:":"1",
   "method":"GET",
   "sec-fetch-site:":"none",
   "query":"Test",
   "request":"/mazer/dist/auth-login.html",
   "host:":"localhost",
   "accept:":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8",
   "user-agent:":"Mozilla/5.0 (X11; Linux x86_64;rv",
   "protocol":"HTTP/1.1",
   "connection:":"keep-alive",
   "accept-language:":"de,en-US;q=0.7,en;q=0.3"
}

host cutted at : what should no be.

first Line is not here. (Must be interpreted/decoded) It would needed for URL Paramters.

Original: ``` GET /mazer/dist/auth-login.html?Test HTTP/1.1 Host: localhost:8446 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:95.0) Gecko/20100101 Firefox/95.0 Accept: text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8 Accept-Language: de,en-US;q=0.7,en;q=0.3 Accept-Encoding: gzip, deflate, br DNT: 1 Connection: keep-alive Upgrade-Insecure-Requests: 1 Sec-Fetch-Dest: document Sec-Fetch-Mode: navigate Sec-Fetch-Site: none Sec-Fetch-User: ?1 ``` Decoded JSON: ``` { "accept-encoding:":"gzip, deflate, br", "sec-fetch-mode:":"navigate", "sec-fetch-dest:":"document", "dnt:":"1", "upgrade-insecure-requests:":"1", "method":"GET", "sec-fetch-site:":"none", "query":"Test", "request":"/mazer/dist/auth-login.html", "host:":"localhost", "accept:":"text/html,application/xhtml+xml,application/xml;q=0.9,image/avif,image/webp,*/*;q=0.8", "user-agent:":"Mozilla/5.0 (X11; Linux x86_64;rv", "protocol":"HTTP/1.1", "connection:":"keep-alive", "accept-language:":"de,en-US;q=0.7,en;q=0.3" } ``` host cutted at : what should no be. first Line is not here. (Must be interpreted/decoded) It would needed for URL Paramters.
Ground0 referenced this issue from a commit 4 months ago
Poster
Owner

All Header Components are now correct and included.

All Header Components are now correct and included.
Ground0 closed this issue 4 months ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.