Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Removes redundant / from the generation of the path.

  • Loading branch information...
commit 2549350e571fbd44d152eebe56737ef1402972ab 1 parent 4bcf108
@skinkie skinkie authored
Showing with 0 additions and 4 deletions.
  1. +0 −2  cherokee/rule_exists.c
  2. +0 −2  cherokee/rule_extensions.c
View
2  cherokee/rule_exists.c
@@ -256,8 +256,6 @@ match (cherokee_rule_exists_t *rule,
cherokee_buffer_add_buffer (tmp, &conn->local_directory);
}
- cherokee_buffer_add_str (tmp, "/");
-
/* Always match */
if (rule->match_any) {
if (! cherokee_buffer_is_empty (&conn->web_directory)) {
View
2  cherokee/rule_extensions.c
@@ -114,8 +114,6 @@ local_file_exists (cherokee_rule_extensions_t *rule,
cherokee_buffer_add_buffer (tmp, &conn->local_directory);
}
- cherokee_buffer_add_str (tmp, "/");
-
if (! cherokee_buffer_is_empty (&conn->web_directory)) {
cherokee_buffer_add (tmp,
conn->request.buf + conn->web_directory.len,
Please sign in to comment.
Something went wrong with that request. Please try again.