mirror of https://codeberg.org/cage/tinmop/
- [GUI] fixed redirection.
This commit is contained in:
parent
e7e795def8
commit
45102d8dc4
|
@ -491,7 +491,7 @@
|
||||||
:title (_ "Redirection")
|
:title (_ "Redirection")
|
||||||
:parent main-window)
|
:parent main-window)
|
||||||
(let ((redirect-iri (if (iri:absolute-url-p meta)
|
(let ((redirect-iri (if (iri:absolute-url-p meta)
|
||||||
meta
|
(remove-standard-port meta)
|
||||||
(absolutize-link iri meta))))
|
(absolutize-link iri meta))))
|
||||||
(slurp-iri redirect-iri main-window))))
|
(slurp-iri redirect-iri main-window))))
|
||||||
((gemini-client:header-success-p status-code)
|
((gemini-client:header-success-p status-code)
|
||||||
|
@ -1375,9 +1375,11 @@ local file paths."
|
||||||
:title (_ "Redirection")
|
:title (_ "Redirection")
|
||||||
:parent main-window)
|
:parent main-window)
|
||||||
(let ((redirect-iri (if (iri:absolute-url-p meta)
|
(let ((redirect-iri (if (iri:absolute-url-p meta)
|
||||||
meta
|
(remove-standard-port meta)
|
||||||
(absolutize-link iri meta))))
|
(absolutize-link iri meta))))
|
||||||
(start-stream-iri redirect-iri main-window use-cache
|
(start-stream-iri redirect-iri
|
||||||
|
main-window
|
||||||
|
use-cache
|
||||||
:status status
|
:status status
|
||||||
:ignore-certificate-expiration ignore-certificate-expiration))))
|
:ignore-certificate-expiration ignore-certificate-expiration))))
|
||||||
((gemini-client:header-success-p status-code)
|
((gemini-client:header-success-p status-code)
|
||||||
|
|
Loading…
Reference in New Issue