Introduction
Introduction Statistics Contact Development Disclaimer Help
Separate search strings with "%09" in URIs, as per RFC - sacc - sacc - sacc(omy…
git clone git://git.codemadness.org/sacc
Log
Files
Refs
LICENSE
---
commit aeb6afa41ddf42eeb865079c7d218a2cbdfe2ef3
parent 864e9c534956afb2a429174e10cc9b4d6196fa05
Author: Quentin Rameau <[email protected]>
Date: Mon, 28 Oct 2019 23:37:31 +0100
Separate search strings with "%09" in URIs, as per RFC
Diffstat:
M ui_ti.c | 2 +-
M ui_txt.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/ui_ti.c b/ui_ti.c
@@ -229,7 +229,7 @@ displayuri(Item *item)
item->type, item->selector);
}
if (n < sizeof(bufout) && item->type == '7' && item->tag) {
- n += snprintf(bufout+n, sizeof(bufout)-n, " %s",
+ n += snprintf(bufout+n, sizeof(bufout)-n, "%%09%s",
item->tag + strlen(item->selector));
}
break;
diff --git a/ui_txt.c b/ui_txt.c
@@ -218,7 +218,7 @@ printuri(Item *item, size_t i)
item->type, item->selector);
}
if (n < sizeof(bufout) && item->type == '7' && item->tag) {
- n += snprintf(bufout+n, sizeof(bufout)-n, " %s",
+ n += snprintf(bufout+n, sizeof(bufout)-n, "%%09%s",
item->tag + strlen(item->selector));
}
break;
You are viewing proxied material from codemadness.org. The copyright of proxied material belongs to its original authors. Any comments or complaints in relation to proxied material should be directed to the original authors of the content concerned. Please see the disclaimer for more details.