web: Fix regex and rev from Dependencies button in repo page
Created by: tsenart
We didn't escape the repo regex that was passed to the repo filter nor did we include the revision when clicking in the new Dependencies button. This commit fixes that.
Test plan
Manual testing.