Bug 815491 - Only add origin to relative urls.
Merge pull request #9733 from daleharvey/815491

Bug 815491 - Only add origin to relative urls. r=kaze