From c148987224b590f1b50cae7af9d725b76892d9c5 Mon Sep 17 00:00:00 2001 From: Burer Date: Sat, 17 May 2025 19:11:15 +0200 Subject: [PATCH] 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 Reviewed-by: IgorA Co-authored-by: Burer Co-committed-by: Burer --- programs/develop/libraries/http/http.asm | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/programs/develop/libraries/http/http.asm b/programs/develop/libraries/http/http.asm index aed667481..a16bf69a4 100644 --- a/programs/develop/libraries/http/http.asm +++ b/programs/develop/libraries/http/http.asm @@ -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 ;; ;; ;; ;; HTTP library for KolibriOS ;; @@ -2021,15 +2021,15 @@ str_head db 'HEAD ', 0 str_post db 'POST ', 0 bits_must_escape: -dd 0xffffffff ; 00-1F -dd 1 shl 0 + 1 shl 2 + 1 shl 3 + 1 shl 5 + 1 shl 28 + 1 shl 30 ; "#%<> -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 -dd 0xffffffff -dd 0xffffffff -dd 0xffffffff +; bit 31 <======== ========> bit 0 ; bit 0 ===> bit 31 +dd 0xffffffff ;00-1F +dd 11111100_00000000_10011111_11111111b ; !"#$%&'()*+,/:;<=>? +dd 01111000_00000000_00000000_00000001b ;@[\]^ +dd 10111000_00000000_00000000_00000001b ;`{|} DEL +dd 0xffffffff ;80-9F +dd 0xffffffff ;A0-BF +dd 0xffffffff ;C0-DF +dd 0xffffffff ;E0-FF str_hex: db '0123456789ABCDEF'