mirror of
https://github.com/YGGverse/Yoda.git
synced 2026-03-31 16:45:27 +00:00
add scheme alias
This commit is contained in:
parent
37a0c8ff4d
commit
7b3ff47139
1 changed files with 1 additions and 1 deletions
|
|
@ -413,7 +413,7 @@ fn handle(
|
|||
redirects.replace(0); // reset
|
||||
|
||||
// Disallow external redirection
|
||||
} else if "gemini" != target.scheme()
|
||||
} else if "gemini" != target.scheme().replace("titan", "gemini") // alias
|
||||
|| uri.port() != target.port()
|
||||
|| uri.host() != target.host() {
|
||||
let status = subject.page.content.to_status_failure();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue