Libs/http: Added all delim chars from RFC 3986 (#233)

Original PR: https://github.com/KolibriOS/kolibrios/pull/34
Original issue: https://github.com/KolibriOS/kolibrios/issues/33

Co-authored-by: Sarveshwaar SS <94345639+Saru2003@users.noreply.github.com>

Reviewed-on: https://git.kolibrios.org/KolibriOS/kolibrios/pulls/233
Reviewed-by: Mikhail Frolov <mixa.frolov2003@gmail.com>
Reviewed-by: IgorA <igora@noreply.localhost>
Co-authored-by: Burer <burer@kolibrios.org>
Co-committed-by: Burer <burer@kolibrios.org>
This commit is contained in:
Burer 2025-05-17 19:11:15 +02:00 committed by Max Logaev
parent 4550e15838
commit c148987224

View File

@ -1,6 +1,6 @@
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;; ;; ;; ;;
;; Copyright (C) KolibriOS team 2004-2020. All rights reserved. ;; ;; Copyright (C) KolibriOS team 2004-2025. All rights reserved. ;;
;; Distributed under terms of the GNU General Public License ;; ;; Distributed under terms of the GNU General Public License ;;
;; ;; ;; ;;
;; HTTP library for KolibriOS ;; ;; HTTP library for KolibriOS ;;
@ -2021,15 +2021,15 @@ str_head db 'HEAD ', 0
str_post db 'POST ', 0 str_post db 'POST ', 0
bits_must_escape: bits_must_escape:
dd 0xffffffff ; 00-1F ; bit 31 <======== ========> bit 0 ; bit 0 ===> bit 31
dd 1 shl 0 + 1 shl 2 + 1 shl 3 + 1 shl 5 + 1 shl 28 + 1 shl 30 ; "#%<> dd 0xffffffff ;00-1F
dd 1 shl 27 + 1 shl 28 + 1 shl 29 + 1 shl 30 ;[\]^ dd 11111100_00000000_10011111_11111111b ; !"#$%&'()*+,/:;<=>?
dd 1 shl 0 + 1 shl 27 + 1 shl 28 + 1 shl 29 + 1 shl 31 ;`{|} DEL dd 01111000_00000000_00000000_00000001b ;@[\]^
dd 10111000_00000000_00000000_00000001b ;`{|} DEL
dd 0xffffffff dd 0xffffffff ;80-9F
dd 0xffffffff dd 0xffffffff ;A0-BF
dd 0xffffffff dd 0xffffffff ;C0-DF
dd 0xffffffff dd 0xffffffff ;E0-FF
str_hex: str_hex:
db '0123456789ABCDEF' db '0123456789ABCDEF'