[FS#715] uhttpd redirect_https broken

LEDE Bugs lede-bugs at lists.infradead.org
Thu Apr 20 05:58:52 PDT 2017


The following task has a new comment added:

FS#715 - uhttpd redirect_https broken
User who did this - Jo-Philipp Wich (jow-)

----------
Cannot reproduce the problem.

With `option redirect_https 1`:

    root at jj:~# curl -v http://127.0.0.1/
    > GET / HTTP/1.1
    > Host: 127.0.0.1
    > User-Agent: curl/7.53.1
    > Accept: */*
    > 
    < HTTP/1.1 307 Temporary Redirect
    < Connection: close
    < Location: https://127.0.0.1/
    < 

With `option redirect_https 0`:

    root at jj:~# curl -v http://127.0.0.1/
    > GET / HTTP/1.1
    > Host: 127.0.0.1
    > User-Agent: curl/7.53.1
    > Accept: */*
    > 
    < HTTP/1.1 200 OK
    < Connection: Keep-Alive
    < Keep-Alive: timeout=20
    < ETag: "23e-1ef-579527f0"
    < Last-Modified: Sun, 24 Jul 2016 20:41:20 GMT
    < Date: Thu, 20 Apr 2017 12:56:28 GMT
    < Content-Type: text/html
    < Content-Length: 495
    < 
    ...


Maybe your browser cached the redirect for some reason.
----------

More information can be found at the following URL:
https://bugs.lede-project.org/index.php?do=details&task_id=715#comment2450



More information about the lede-bugs mailing list