Fixed 2 bugs related to URLs on publications.

1) Allow a URL to start with "https://".
2) Allow modifications on existing URLs. This was not working previously.