breautek commented on issue #1348:
URL: https://github.com/apache/cordova-ios/issues/1348#issuecomment-1599109467

   The problematic entries are:
   
   ```
   <access origin="*.gmc-limousines.ch" />
       <access origin="*.lorenz-rochat.ch" />
       <access origin="*.interline.ovh" />
       <access origin="*.gmc-limousines.com" />
       <access origin="*.lorenz-rochat.com" />
       <access origin="*.chauffeur.pro" />
       <access origin="*.chauffeurs.pro" />
       <access origin="*.google.com" />
       <access origin="*.gva.ch" />
       <access origin="*.pushwoosh.com" />
       <access origin="*.flightstats.com" />
   ```
   
   In Node 18 I believe, NodeJS was changed where it no longer accepts a url 
that isn't prefixed with a scheme.
   
   For example, `*.gmc-limousines.ch` should now be 
`https://*.gmc-limousines.ch` (or `http://` if they don't use https).
   
   Perhaps Cordova should do some amount validation since the produced error 
doesn't make it clear what the issue is, but that should get you by.
   
   If you need to support both `http` and `https` you may need two entries one 
for each protocol. I think ATS does have a entry limit however, so that might 
pose another problem.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to