johnmckerrell / OpenStreetView

An open licensed repository of street level photography, with metadata.
http://www.openstreetview.org/
32 stars 16 forks source link

[patch] Remove protocol and server name from photo.url #31

Open tetraf opened 11 years ago

tetraf commented 11 years ago

This causes issues if protocol is https, port is mapped or server is accessed with an other name.

Patch to use with git apply: https://gist.github.com/tetraf/5611901

alexandre-mbm commented 10 years ago

Are you sure you do not enter a fault? Did you check if that "url" is not parsed further, for example? I might be turning your patch in a pull request, to facilitate to @johnmckerrell. I want to solve very simple issues like this can be.

tetraf commented 10 years ago

It works for me, and I didn't see other operation on this string.