aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2025-12-15 20:06:18 -0600
committerTim Keller <tjk@tjkeller.xyz>2025-12-15 20:06:18 -0600
commitae8dfb9f9c613c9cef343ec4c33c4154da715918 (patch)
tree138687afd5996d19d94a81a091e6c577c023032b
parent15b710c37770c045a45cecacf267ca0f452d1eb1 (diff)
downloadst-ae8dfb9f9c613c9cef343ec4c33c4154da715918.tar.xz
st-ae8dfb9f9c613c9cef343ec4c33c4154da715918.zip
remove apostrophe from selurl urlchars since it caused false positivestj-0.9.2.4
-rw-r--r--st.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/st.c b/st.c
index e3ec184..686e1a2 100644
--- a/st.c
+++ b/st.c
@@ -3223,7 +3223,7 @@ daddch(URLdfa *dfa, char c)
*/
static const char URLCHARS[] = "ABCDEFGHIJKLMNOPQRSTUVWXYZ"
"abcdefghijklmnopqrstuvwxyz"
- "0123456789-._~:/?#@!$&'*+,;=%";
+ "0123456789-._~:/?#@!$&*+,;=%"; // removed apostrophe (') since it causes false positives as well
static const char RPFX[] = "//:sptth";
if (!strchr(URLCHARS, c)) {