summary refs log tree commit diff stats
path: root/src
diff options
context:
space:
mode:
authorPatrick Griffis <tingping@tingping.se>2021-12-22 12:04:48 -0600
committerPatrick Griffis <tingping@tingping.se>2021-12-22 12:05:08 -0600
commit66f596822509c0d2adb3b90caba1edd09dd61d65 (patch)
tree8020b34de6aed8dc0bdbfbd9933941f73a88213f /src
parentba5d79b496d0f7d2c01626a90c2de934eb918a10 (diff)
Update comment
Diffstat (limited to 'src')
-rw-r--r--src/fe-gtk/fe-gtk.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/fe-gtk/fe-gtk.c b/src/fe-gtk/fe-gtk.c
index 285ba42b..7eca0710 100644
--- a/src/fe-gtk/fe-gtk.c
+++ b/src/fe-gtk/fe-gtk.c
@@ -1077,8 +1077,8 @@ uri_contains_forbidden_characters (const char *uri)
 static char *
 maybe_escape_uri (const char *uri)
 {
-	/* There isn't an exact way to know if a string has already been escaped or not
-	 * so we can try some heuristics. */
+	/* The only way to know if a string has already been escaped or not
+	 * is by fulling parsing each segement but we can try some more simple heuristics. */
 
 	/* If we find characters that should clearly be escaped. */
 	if (uri_contains_forbidden_characters (uri))