diff options
author | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-05-29 15:12:21 +0300 |
---|---|---|
committer | Jaakko Keränen <jaakko.keranen@iki.fi> | 2021-05-29 15:12:21 +0300 |
commit | 0bee8772e3bb7e29a78cf98a1ca84926b93df77f (patch) | |
tree | 0d83795c2c5c8aea69d74a72ad418ecee4ff3bc6 /src/ui | |
parent | 1777c26a44daa5b87c7b88dd611008aaa59576eb (diff) |
DocumentWidget: Looking up URLs from history
URLs in the history are in decoded and NFC normalized form, except for spaces which are stored as %20.
Diffstat (limited to 'src/ui')
-rw-r--r-- | src/ui/documentwidget.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/documentwidget.c b/src/ui/documentwidget.c index f37b2b6d..6184a75a 100644 --- a/src/ui/documentwidget.c +++ b/src/ui/documentwidget.c | |||
@@ -1591,7 +1591,7 @@ static void updateFromCachedResponse_DocumentWidget_(iDocumentWidget *d, float n | |||
1591 | } | 1591 | } |
1592 | 1592 | ||
1593 | static iBool updateFromHistory_DocumentWidget_(iDocumentWidget *d) { | 1593 | static iBool updateFromHistory_DocumentWidget_(iDocumentWidget *d) { |
1594 | const iRecentUrl *recent = findUrl_History(d->mod.history, d->mod.url); | 1594 | const iRecentUrl *recent = findUrl_History(d->mod.history, withSpacesEncoded_String(d->mod.url)); |
1595 | if (recent && recent->cachedResponse) { | 1595 | if (recent && recent->cachedResponse) { |
1596 | updateFromCachedResponse_DocumentWidget_(d, recent->normScrollY, recent->cachedResponse); | 1596 | updateFromCachedResponse_DocumentWidget_(d, recent->normScrollY, recent->cachedResponse); |
1597 | return iTrue; | 1597 | return iTrue; |