diff options
| author | fisharebest <fisharebest@gmail.com> | 2011-11-04 13:06:27 +0000 |
|---|---|---|
| committer | fisharebest <fisharebest@gmail.com> | 2011-11-04 13:06:27 +0000 |
| commit | 1a45f56f9feb5068977d09425c2d908cc592221e (patch) | |
| tree | 7a923b602b55412a9fb0b9700e6eb2e23af325ef /includes/functions/functions_places.php | |
| parent | 09d0e25dd4debda83b96cd7dfd92eba6ad7276d3 (diff) | |
| download | webtrees-1a45f56f9feb5068977d09425c2d908cc592221e.tar.gz webtrees-1a45f56f9feb5068977d09425c2d908cc592221e.tar.bz2 webtrees-1a45f56f9feb5068977d09425c2d908cc592221e.zip | |
Square brackets are not valid characters in URLS, and need escaping
Diffstat (limited to 'includes/functions/functions_places.php')
| -rw-r--r-- | includes/functions/functions_places.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/functions/functions_places.php b/includes/functions/functions_places.php index c33fd5b50c..911942771d 100644 --- a/includes/functions/functions_places.php +++ b/includes/functions/functions_places.php @@ -38,7 +38,7 @@ function get_place_url($gedcom_place) { $level = count($exp); $url = "placelist.php?action=show&level=".$level; for ($i=0; $i<$level; $i++) { - $url .= "&parent[".$i."]=".rawurlencode($exp[$level-$i-1]); + $url .= "&parent%5B".$i."%5D=".rawurlencode($exp[$level-$i-1]); } $url .= "&ged=".rawurlencode($GEDCOM); return $url; |
