This original code fork is considered deprecated and no longer maintained by the community. We recommend that you use one of the several actively developed forks.
GNU General Public License v2.0
23
stars
96
forks
source link
No data download for results generated by search with a collector name that contains an apostrophe #119
When I search for the collector last name O'Kennon, I get results (for example http://portal.torcherbaria.org/portal/collections/list.php?collector=O'Kennon&db=370;&page=1 has 2,929 results) but when I click on the icon to download the data the URL is http://portal.torcherbaria.org/portal/collections/download/index.php?dltype=specimen&starr={%22collector%22:%22O and is truncated at the position where the apostrophe would be. I still see the download page, but the downloaded file is NoData.txt If I manually reconstruct the URL with an apostrophe, it has the same results. If I use the HTML entity %apos; (http://portal.torcherbaria.org/portal/collections/download/index.php?dltype=specimen&starr={%22collector%22:%22O%apos;Kennon%22}&jsoncollstarr={%22db%22:%22370;%22}) I get the expected download results.