Header decoder failes #6

Closed
opened 2022-02-20 13:16:09 +01:00 by Ground0 · 1 comment
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 2022-02-20 13:28:36 +01:00
Author
Owner

All Header Components are now correct and included.

All Header Components are now correct and included.
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: PB_Includes/lweb#6
No description provided.