Backport openuri portal support

Authored by apol on Apr 14 2018, 5:50 PM.