You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by GitBox <gi...@apache.org> on 2018/11/29 14:59:27 UTC

[GitHub] lucaong commented on issue #32: On Android, whitelisting a path with wildcard does not work if a "/" is present

lucaong commented on issue #32: On Android, whitelisting a path with wildcard does not work if a "/" is present
URL: https://github.com/apache/cordova-plugin-whitelist/issues/32#issuecomment-442863979
 
 
   Correction,
   it works as expected, but on Android two entries have to be created for `<allow-navigation />`:
   
   ```xml
   <allow-navigation href="https://example.com/app" />
   <allow-navigation href="https://example.com/app/*" />
   ```
   
   Otherwise the second one only won't match `https://example.com/app`, and the URL won't be whitelisted. On iOS, that is not necessary.
   
   Feel free to close the issue. I am leaving it open because, while not a bug, I think this is surprising enough to deserve a mention in the documentation.
   
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@cordova.apache.org
For additional commands, e-mail: commits-help@cordova.apache.org