[Libs/HTTP] Added encoding for '+' and '&' #233
Reference in New Issue
Block a user
No description provided.
Delete Branch "http-asm-encoding-fix"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
This is clone of original GitHub PR by @Saru2003:
https://github.com/KolibriOS/kolibrios/pull/34
That address GitHub issue opened by @MvDDD
https://github.com/KolibriOS/kolibrios/issues/33
@@ -2026,2 +2024,2 @@
dd 1 shl 27 + 1 shl 28 + 1 shl 29 + 1 shl 30 ;[\]^
dd 1 shl 0 + 1 shl 27 + 1 shl 28 + 1 shl 29 + 1 shl 31 ;`{|} DEL
dd 0xffffffff ; 00-1F
dd 1 shl 0 + 1 shl 2 + 1 shl 3 + 1 shl 5 + 1 shl 6 + 1 shl 11 + 1 shl 28 + 1 shl 30 ; "#%<>+&"
1 shl 0
means1 shl 2
means"
1 shl 3
means#
1 shl 5
means%
1 shl 6
means&
1 shl 11
means+
1 shl 28
means<
1 shl 30
means>
so, the last
"
in the comment is redundant@@ -2027,1 +2024,3 @@
dd 1 shl 0 + 1 shl 27 + 1 shl 28 + 1 shl 29 + 1 shl 31 ;`{|} DEL
dd 0xffffffff ; 00-1F
dd 1 shl 0 + 1 shl 2 + 1 shl 3 + 1 shl 5 + 1 shl 6 + 1 shl 11 + 1 shl 28 + 1 shl 30 ; "#%<>+&"
dd 1 shl 0 + 1 shl 2 + 1 shl 3 + 1 shl 5 + 1 shl 28 + 1 shl 30 ; "#%<>
this line is redundant
;; Copyright (C) KolibriOS team 2004-2020. All rights reserved. ;;
year of update in the header
WIP: [Libs/HTTP] Added encoding for '+' and '&'to [Libs/HTTP] Added encoding for '+' and '&'How to test this?
Since only the PASTA app uses http_escape, I tried uploading part of the http.asm source code to check whether the data uploads without errors. It seems to be fine: https://dpaste.com/6SWM8FJMP
ebeb16dd73
to65f87c7311