url: remove , from path_chars

Related to #1972

Fixes an issue when paths have embedded comma, e.g.:

    shared/src/foo/SomeItem.m:12, shared/src/

with path_chars greedily consuming the rest of the string.

Now file path matching stops at comma. Scheme URLs are unchanged and
still using the comma.
This commit is contained in:
Ben Kircher
2026-02-08 13:35:36 +01:00
parent c6e0de0bae
commit 72a894b13b

View File

@@ -37,7 +37,7 @@ const scheme_url_chars =
;
const path_chars =
\\[\w\-.~:\/?#@!$&*+,;=%]
\\[\w\-.~:\/?#@!$&*+;=%]
;
const optional_bracketed_word_suffix =