See https://docs.fastly.com/guides/vcl/mixing-and-matching-fastly-vcl-with-custom-vcl for details.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
set -e | |
### BEGIN mod by JSB 2014-12-03 | |
# URL encode/decode functions courtesy of https://gist.github.com/cdown/1163649 | |
# | |
urlencode() { | |
# urlencode <string> | |
local length="${#1}" |