I guess what I need to do is completely filter out anything that is local. Super weird issue and frankly annoying that they can even be posted to Lemmy.
To test this, visit my profile and hit "Posts". I posted something in /c/test with an internal IP for reference.
Edit: We'll add some information to the dialog asking you to deny the permission and I'll do my best to filter these out so it doesn't pop up at all.
Edit: Fixed this now. See these commits for changes:
I replied up above about this. If you visit my profile right now and hit posts, you'll get the message. I made a post in /c/test with a link for an image at http://192.168.1.5/image.png
The app tries to pre-load images. If it makes a request to an internal IP, then iOS automatically triggers this. I'll see how I can completely disable this or if I need to just filter these out.
For the record, this appears to happen in other apps as well so if you want to test it on other apps, feel free 👍
I guess what I need to do is completely filter out anything that is local. Super weird issue and frankly annoying that they can even be posted to Lemmy.
To test this, visit my profile and hit "Posts". I posted something in /c/test with an internal IP for reference.
Edit: We'll add some information to the dialog asking you to deny the permission and I'll do my best to filter these out so it doesn't pop up at all.
Edit: Fixed this now. See these commits for changes:
according to the github issue it only happens if memmy preloads a post that links to a local network ip. which causes memmy to ask permission to access the local network ip.