support relative url
Merge pull request #1 from mzp/fix_relative_url

Support relative url