Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #87 from mathstuf/dev/fix-cookie-loading

Fix an off-by-one error
  • Loading branch information...
commit 29d4d3b7952a687b4338ca69a6789739728d8df8 2 parents eba0f53 + 9bcc0d3
@bct bct authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  examples/data/scripts/load_cookies.sh
View
2  examples/data/scripts/load_cookies.sh
@@ -14,7 +14,7 @@ BEGIN {
}
$0 ~ /^#HttpOnly_/ {
gsub(/@/, "\\@")
- printf("add_cookie \"%s\" \"%s\" \"%s\" \"%s\" \"%s\" \"%s\"\n", substr($1,length("#HttpOnly_"),length($1)), $3, $6, $7, scheme[$4], $5)
+ printf("add_cookie \"%s\" \"%s\" \"%s\" \"%s\" \"%s\" \"%s\"\n", substr($1,length("#HttpOnly_")+1,length($1)), $3, $6, $7, scheme[$4], $5)
}
$0 !~ /^#/ {
gsub(/@/, "\\@")
Please sign in to comment.
Something went wrong with that request. Please try again.