Summary: | Encoding is broken in speeddial | ||
---|---|---|---|
Product: | [Applications] Falkon | Reporter: | Feufochmar <me> |
Component: | general | Assignee: | David Rosca <nowrep> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | Nicky726 |
Priority: | NOR | ||
Version: | 3.1.0 | ||
Target Milestone: | --- | ||
Platform: | Arch Linux | ||
OS: | Linux | ||
Latest Commit: | https://commits.kde.org/falkon/4b7a38680b78397a81099c6994b5182e5a795c3d | Version Fixed In: | |
Sentry Crash Report: |
Description
Feufochmar
2019-03-31 20:26:32 UTC
I downgraded Falkon to 3.0.1 to check. The problem is not present in 3.0.1. When using a new, clear, profile in 3.1.0, the problem is also present (so the problem do not comes from an upgrade of the profile from 3.0.1 to 3.1.0). I can confirm this issue. Moreover, it seems that there are additional changes to the misinterpreted text, e.g. "bankovnictví" first becomes "bankovnictvÃ" and "bankovnictvÃÂÃÂÃÂÃÂ" after a couple of restarts. Git commit 4b7a38680b78397a81099c6994b5182e5a795c3d by Juraj Oravec. Committed on 01/02/2020 at 09:36. Pushed by jurajo into branch 'master'. Speeddial: decode initialScript data as Utf8 Summary: Solution based on: https://developer.mozilla.org/en-US/docs/Web/API/WindowBase64/Base64_encoding_and_decoding#Solution_4_%E2%80%93_escaping_the_string_before_encoding_it Test Plan: Add webpage with title which contains Utf8 character (e.g. ľščťžýáíéúäô) into speeddial Reviewers: #falkon, drosca Reviewed By: #falkon, drosca Subscribers: falkon, drosca Tags: #falkon Differential Revision: https://phabricator.kde.org/D27081 M +8 -1 src/lib/data/html/speeddial.user.js https://commits.kde.org/falkon/4b7a38680b78397a81099c6994b5182e5a795c3d |