diff options
| author | Karol Kosek <krkk@krkk.ct8.pl> | 2021-03-28 20:09:07 +0200 |
|---|---|---|
| committer | Felix Queißner <felix@ib-queissner.de> | 2021-03-28 22:00:34 +0200 |
| commit | 62fe445a949fdd8135b48d5e402c2a20946f5734 (patch) | |
| tree | cc3db4651862b4dee06180864539c1ff66264bef /src/browsertab.cpp | |
| parent | eaee38bc03e45c1494b08583e64897dfe72cfe4a (diff) | |
| download | kristall-62fe445a949fdd8135b48d5e402c2a20946f5734.tar.gz | |
BrowserTab: set port on relative redirects
Diffstat (limited to 'src/browsertab.cpp')
| -rw-r--r-- | src/browsertab.cpp | 1 |
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) |
