Closed 7tonin closed 5 years ago
Second commit is not related to entitled topic°. (would it have needed a specific branch ?) (° topic title edited) It is a response to a bug, from global map, when opening the link to "see them all". The bug happened when negative lat or lon were asked.
For instance link : osmmap.php?min_lat=42.34&min_lng=-5.33&max_lat=49.55&max_lng=14.61 PHP Fatal error [Hacking attempt] the input parameter "min_lng" is not valid 1 check_input_parameter /home/antonin/yaya/pwg/plugins/piwigo-openstreetmap/include/functions_map.php(147) 2 osm_get_items /home/antonin/yaya/pwg/plugins/piwigo-openstreetmap/osmmap3.php(92) *3 include_once /home/antonin/yaya/pwg/osmmap.php(12)
That sounds sensible.
Or, does it work if they're protocol-relative URLs? i.e. leave off the bit before the ://
.
Did confirm some https url to replace http ones. In reply to https://github.com/xbgmsharp/piwigo-openstreetmap/issues/137