Fixed security issue, only enable the way to hit the portal if the filter uri:... exist