aboutsummaryrefslogtreecommitdiff
path: root/CHANGELOG.md
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-04-02 06:41:46 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-04-07 07:11:16 +0000
commit1760cb6ab82b355a0751f614f3b45c7446e23e95 (patch)
tree564bd91d079224003886bdfac807a265f822223d /CHANGELOG.md
parentMerge branch 'kbd-no-virtual-modifiers' (diff)
config: update default URL regex
The old one is in some cases too liberal. The new one is stricter in two ways: 1. The protocol list is now explicit, rather than matching anything:// 2. Allowed characters are now limited to the "safe character set", the "reserved character set", and some from the "unsafe character set" Furthermore, some of the characters are restricted in how/when they are allowed: 1. Periods, commas, question marks etc are allowed inside an URL, but not at the end. 2. [ ], ( ), " " and ' ' are allowed but only when balanced. This allows us to match e.g. [http://foo.bar/foo[bar]] correctly. Closes #2016
Diffstat (limited to 'CHANGELOG.md')
-rw-r--r--CHANGELOG.md5
1 files changed, 5 insertions, 0 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md
index bc297e6c..3e421014 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -79,9 +79,14 @@
`Mod4` etc) in key bindings are now recognized as being virtual, and
are automatically mapped to the corresponding real modifier. This
means you can use e.g. `Alt+b` instead of `Mod1+b`.
+* Default URL regex changed to a much more strict variant
+ ([#2016][2016]). You can manually set the [old
+ one](https://codeberg.org/dnkl/foot/src/tag/1.21.0/foot.ini#L72), if
+ you prefer it over the new regex.
[2006]: https://codeberg.org/dnkl/foot/issues/2006
[2009]: https://codeberg.org/dnkl/foot/issues/2009
+[2016]: https://codeberg.org/dnkl/foot/issues/2016
### Deprecated