NEFilterControlProvider - handleNewFlow sometimes not catching url

Hello,

Our application performs web filtering by using NEFilterControlProvider and NEFilterDataProvider. In most cases it works as it should but sometimes browser flow from the filter control provider does not catch the URL. For instance when the URL is opened from Gmail application or when search is performed with Arabic keyboard (right to left) set on device on almaany.com/. 

In NEFilterDataProvider handleNewFlow catches the URL and needRulesVerdict is called, handleNewFlow in NEFilterControlProvider fires but the URL is empty. 

Is there any way to make the extension more reliable or can you suggest any other approach to catch requests?

Thank you

In NEFilterDataProvider handleNewFlow catches the URL and needRulesVerdict is called, handleNewFlow in NEFilterControlProvider fires but the URL is empty. Is there any way to make the extension more reliable or can you suggest any other approach to catch requests?

Are you able to see an IP address of the remote host? Does the URL being empty happen on all browsers? If the flow is originating from Safari then either the URL or the remote host IP address should be available. If not, then you should open a bug report here.

Matt Eaton
DTS Engineering, CoreOS
meaton3@apple.com
NEFilterControlProvider - handleNewFlow sometimes not catching url
 
 
Q