Homestyx hydra

R1:abd8efc35855

Further relax same origin checks

Summary: Allow paths to match even if they differ by trailing slashes and
".git".

Test Plan: Ran unit tests.

Reviewers: jungejason, btrahan

Reviewed By: jungejason

CC: aran, jungejason

Maniphest Tasks: T710

Differential Revision: https://secure.phabricator.com/D1286
Repository: R1 hydra
Commit Date: Dec 26 2011