Cordova localhost Blocked by Content Filters

Our app uses Cordova with a Cordova Local Webserver plugin. This plugin uses the url http://localhost: with a randomly chosen port. Some of the devices that our app runs on are MDM configured and have Content Filters enabled which only allows a finite list of website URLs to be accessed. This configuration has always worked in the past. Starting with the release of iPadOS 16.5, our app now hangs because the content filters are now preventing access to http://localhost. We've tried adding http://localhost, plus any derivative of that URL (i.e. http://localhost:, http://localhost:*, etc.) to the Allowed Website list, but this does not help.

Wondering if anyone else has encountered this issue.

We are also experiencing this same issue on our end and have tried many different combinations including the ones noted in this post. One interesting result we have noted is adding localhost:// seems to completely break the allow list, and opens access to all websites even when not specified within the successfully installed profile.

We have the same problem.

For us it helped to add http://localhost:8080 to the allow list.

Just want to chime in, that we're seeing that exact same problem with on of our apps.

Did anyone file a bug for this already?

We just did some tests in iOS 17 beta, where the issue seems to be fixed.

I'm still getting this problem on iPadOS 17.5.1 and iOS 17.6.1

Does anyone know of a workaround?

@jesper-w-nielsen Did you end up filing a bug for this?

Cordova localhost Blocked by Content Filters
 
 
Q