~mdw
/
disorder
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ae13d68
)
Empty back= should be treated as if absent
author
Richard Kettlewell
<rjk@greenend.org.uk>
Sun, 18 May 2008 20:55:36 +0000
(21:55 +0100)
committer
Richard Kettlewell
<rjk@greenend.org.uk>
Sun, 18 May 2008 20:55:36 +0000
(21:55 +0100)
server/actions.c
patch
|
blob
|
blame
|
history
diff --git
a/server/actions.c
b/server/actions.c
index
1372733
..
2468b77
100644
(file)
--- a/
server/actions.c
+++ b/
server/actions.c
@@
-33,7
+33,7
@@
static void redirect(const char *url) {
/* By default use the 'back' argument */
if(!url)
url = cgi_get("back");
- if(url) {
+ if(url
&& *url
) {
if(strncmp(url, "http", 4))
/* If the target is not a full URL assume it's the action */
url = cgi_makeurl(config->url, "action", url, (char *)0);