aboutsummaryrefslogtreecommitdiff
path: root/src/browsertab.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/browsertab.cpp')
-rw-r--r--src/browsertab.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/browsertab.cpp b/src/browsertab.cpp
index 4c28f1c..e5e1a00 100644
--- a/src/browsertab.cpp
+++ b/src/browsertab.cpp
@@ -897,6 +897,7 @@ void BrowserTab::on_redirected(QUrl uri, bool is_permanent)
{
uri.setScheme(current_location.scheme());
uri.setHost(current_location.host());
+ uri.setPort(current_location.port());
}
if (redirection_count >= kristall::globals().options.max_redirections)