So if I take a photo with my iPhone and upload the photo using a web form, does the website get the exif data (GPS coordinates) or does Safari strip that prior to upload?
IMHO that's the correct thing to do. Maintaining GPS coords is highly desirable when uploading photos to your photo storage solution. It would be very sad if they were all lost.
Most web apps (such as facebook, slack) will strip the exif data though, so you don't always need to worry about it.
If you don't want Facebook knowing exactly where you were at a given datetime, you'll still want to manually strip the EXIF before uploading.
Don't worry, Facebook will keep a copy of all the metadata.
Also see this thread https://apple.stackexchange.com/questions/326789/gps-exif-fr...
I think people on this thread are confusing uploading in the browser with uploading via the Facebook app