PATCH: kio_http

George Staikos staikos at kde.org
Mon Nov 11 05:06:08 GMT 2002


On Sunday November 10 2002 23:47, Dawit A. wrote:
> Hi,
>
> Attached is a patch that fixes few things
>
> - kio_http crashes if one accidentally mistypes a URL, ex:
> http:/www.kde.org (notice the missing /).  This happens because KURL
> nterprets it as a URL without a hostname. kio_http correctly detects that
> the hostname is missing and attempts to return an error message, but it
> crashes because none of the variables in the structures we use have been
> properly initialized :(
>
> - bug# 50549 whose severity level was changed by Dirk.  Note: I fixed this
> in kio_http because it was easy enough to do it here thanks to George's
> "ssl_was_in_use" meta-data.  Fixing it in khtml would require much much
> more effort.

   Great!  I had started working on this earlier tonight.  My first patch 
didn't do the whole job so I left it.  Anyhow, did you take care of all 
possible redirect cases too?  I'm not sure if your patch is sufficient for 
that.

-- 

George Staikos





More information about the kfm-devel mailing list