Diff options
authorBryce Kwon <bryce@brycekwon.com>
committerBryce Kwon <bryce@brycekwon.com>
commit
parent
tree
download
Drop the query-string form of every link
cgit falls back to SCRIPT_NAME for virtual_root whenever cgitrc leaves it out, so the ?url= and ?r= forms only ever reached an error page raised while cgitrc was still being read. The page argument of cgit_add_hidden_formfields fed only the url field, so it is unused until its callers stop passing it.
Diffstat (limited to '')
-rw-r--r--source/ui-shared.h4
1 file changed, 1 insertion, 3 deletions
diff --git a/source/ui-shared.h b/source/ui-shared.h
index 9abd4c0..59751ae 100644
--- a/source/ui-shared.h
+++ b/source/ui-shared.h
@@ -3,9 +3,7 @@
* handler renders its own body and calls in here for all that surrounds it,
* which is the HTTP headers, the document head and footer, the header block
* with its tabs and search form, the error page, and an anchor to any other
- * cgit page. Whether a site addresses a request as a path below a virtual root
- * or as a query string is settled behind these calls, so that nothing else has
- * to know which of the two it is looking at.
+ * cgit page.
*/
#ifndef CGIT_UI_SHARED_H