From 3bc7316ac8873d8b17ceef66168dfa5bb14928ff Mon Sep 17 00:00:00 2001
From: Ole Loots
Date: Fri, 21 Dec 2012 05:46:20 +0100
Subject: Render HTML Form for Choices submission. Causes memory corruption
when submitted via GET. Retrieving Post data requires a bit more indepth
knowledge about the fetcher.
---
content/fetchers/about.c | 123 +++++++++++++++++++++++++++++------------------
1 file changed, 75 insertions(+), 48 deletions(-)
(limited to 'content/fetchers')
diff --git a/content/fetchers/about.c b/content/fetchers/about.c
index 78f22df01..81ff2e153 100644
--- a/content/fetchers/about.c
+++ b/content/fetchers/about.c
@@ -16,9 +16,9 @@
* along with this program. If not, see .
*/
-/* about: URL handling.
+/* about: URL handling.
*
- * Based on the data fetcher by Rob Kendrick
+ * Based on the data fetcher by Rob Kendrick
* This fetcher provides a simple scheme for the user to access
* information from the browser from a known, fixed URL.
*/
@@ -198,7 +198,7 @@ static bool fetch_about_imagecache_handler(struct fetch_about_context *ctx)
msg.data.header_or_data.buf = (const uint8_t *) buffer;
/* page head */
- slen = snprintf(buffer, sizeof buffer,
+ slen = snprintf(buffer, sizeof buffer,
"\n\n"
"NetSurf Browser Image Cache Status\n"
"Configured limit of %a hysteresis of %b