aboutsummaryrefslogtreecommitdiff
path: root/src/html.cc
diff options
context:
space:
mode:
authorcorvid <devnull@localhost>2014-05-04 02:03:46 +0000
committercorvid <devnull@localhost>2014-05-04 02:03:46 +0000
commitaa4fbb808b7b63cf5ffae4ef01db213905569be9 (patch)
treeeacda6e7b65b4edf59d86806882f99d16b38eb79 /src/html.cc
parentd61c9a5d57660d942e416469f8c124aeeeda8152 (diff)
acknowledge that we view 0x80-0xFF bytes in urls as illegal, and make handling uniform whether char is signed or unsigned
Diffstat (limited to 'src/html.cc')
-rw-r--r--src/html.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/html.cc b/src/html.cc
index f6d970e9..5e8dcf95 100644
--- a/src/html.cc
+++ b/src/html.cc
@@ -160,11 +160,11 @@ DilloUrl *a_Html_url_new(DilloHtml *html,
if (n_ic == n_ic_spc) {
BUG_MSG("URL has %d illegal space%s ('%s')\n", n_ic, suffix, url_str);
} else if (n_ic_spc == 0) {
- BUG_MSG("URL has %d illegal byte%s in {00-1F, 7F} range ('%s')\n",
+ BUG_MSG("URL has %d illegal byte%s in {00-1F, 7F-FF} range ('%s')\n",
n_ic, suffix, url_str);
} else {
BUG_MSG("URL has %d illegal byte%s: "
- "%d space%s and %d in {00-1F, 7F} range ('%s')\n",
+ "%d space%s and %d in {00-1F, 7F-FF} range ('%s')\n",
n_ic, suffix,
n_ic_spc, n_ic_spc > 1 ? "s" : "", n_ic-n_ic_spc, url_str);
}