Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
webui: fix the wrong return values for css redirs
  • Loading branch information
perexg committed Mar 26, 2016
1 parent 9329b58 commit 288424e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/webui/webui.c
Expand Up @@ -1798,7 +1798,7 @@ http_redir(http_connection_t *hc, const char *remain, void *opaque)
return 0;
}
}
return 0;
return HTTP_STATUS_BAD_REQUEST;
}
if (!strcmp(components[0], "theme.debug.css")) {
theme = access_get_theme(hc->hc_access);
Expand All @@ -1810,7 +1810,7 @@ http_redir(http_connection_t *hc, const char *remain, void *opaque)
return 0;
}
}
return 0;
return HTTP_STATUS_BAD_REQUEST;
}
}

Expand Down

0 comments on commit 288424e

Please sign in to comment.