Skip to content

Commit

Permalink
add scheme alias
Browse files Browse the repository at this point in the history
  • Loading branch information
yggverse committed Jan 22, 2025
1 parent 37a0c8f commit 7b3ff47
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/browser/window/tab/item/client/driver/gemini.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 7b3ff47

Please sign in to comment.