Fixes #12: url encoding error on EC2