aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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)) {