[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
#1826: http-name->symbol broken
From: |
Chicken Trac |
Subject: |
#1826: http-name->symbol broken |
Date: |
Tue, 05 Sep 2023 13:09:58 -0000 |
#1826: http-name->symbol broken
------------------------------+---------------------------------
Reporter: felix winkelmann | Owner: sjamaan
Type: defect | Status: assigned
Priority: major | Milestone: 6.0.0
Component: extensions | Version: 5.3.0
Keywords: intarweb | Estimated difficulty: trivial
------------------------------+---------------------------------
In intarweb, the procedure "http-name->symbol" assumes "string-downcase!"
returns its result, but this is just incidental to the srfi-13 reference
implementation. In utf CHICKEN, the procedure has been changed and returns
the undefined value, making the intarweb primitive fail, which gets
further obscured by exception handling in "parse-header-line".
To fix this, just use "string-downcase".
--
Ticket URL: <https://bugs.call-cc.org/ticket/1826>
CHICKEN Scheme <https://www.call-cc.org/>
CHICKEN Scheme is a compiler for the Scheme programming language.
- #1826: http-name->symbol broken,
Chicken Trac <=