Merge pull request #24 from johanhermansson/feat-hashurl-fix

Make hash character url friendly
This commit is contained in:
Paul Irish 2015-05-02 01:56:14 -07:00
commit 401267b0da

View file

@ -42,6 +42,9 @@ else
branch="$2"
fi
# Make # and % characters url friendly
branch=${branch//%/%25} && branch=${branch//#/%23}
# URL normalization
# Github gists
if grep -q gist.github <<<$giturl; then