Re: DESCRIBE broken after website move

Lucas Buchala <[email protected]>
Newsgroups gmane.lisp.clisp.devel
Message-ID <CALPGu0h8ZmS_emwR3TqzWeDkGExo7YHw2iYtNcQG4s74iw2pfg@mail.gmail.com>
On Mon, Aug 21, 2017 at 9:47 PM, Bruno Haible <[email protected]> wrote:
> As a consequence of the move from http://clisp.sourceforge.net/
> to https://clisp.sourceforge.io/ the function DESCRIBE is now broken:

Hello. I'm newbie in Lisp, but this error looked interesting, so I
went to take a look at src/clhs.lisp.

I wonder if there's some problem in the function open-http, around line 198:
https://sourceforge.net/p/clisp/clisp/ci/default/tree/src/clhs.lisp#l198

It seems to expect an URL with prefix "http://" but a secure URL with
prefix "https://" is found in the "Location:" header instead, so it
ends up concatenating the strings:

  (unless (string-equal #1# new-url
                        :end2 (min (length new-url) #2#))
    (setq new-url (string-concat #1# host new-url)))

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
clisp-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/clisp-devel
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.