From 9fc2a3085201f8b51095ff509ef8ebf2b7ed2c55 Mon Sep 17 00:00:00 2001 From: r Date: Wed, 29 Jul 2026 09:42:16 +0900 Subject: [PATCH] url: exclude trailing spaces from path matches #13491 #9921 Path matching previously included end-of-line spaces. Pi redraws can leave blank cells after a path, causing cmd-click to open a pathname that includes those cells. Do not include trailing whitespace in path matches. AI disclosure: Pi using GPT-5.6 Terra High was used to investigate and write this change. I reviewed it personally. --- src/config/url.zig | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/src/config/url.zig b/src/config/url.zig index 2621898e1..463ea9bfc 100644 --- a/src/config/url.zig +++ b/src/config/url.zig @@ -52,10 +52,6 @@ const no_trailing_colon = \\(?