Project

General

Profile

« Previous | Next » 

Revision 7884

vegpath/index.*: IH: URL-encode ' in search URL to avoid needing to backslash-escape it

View differences:

web/vegpath/index.htm
119 119
document.write('<h2>Data</h2>')
120 120
{
121 121
	document.write('<blockquote>')
122
	add_ref('IH', '.herbarium_code', by_prefix('http://sweetgum.nybg.org/ih/herbarium_list.php?QueryName=DetailedQuery&Restriction=NamPartyType+%3D+\'IH+Herbarium\'&col_NamOrganisationAcronym=',
122
	add_ref('IH', '.herbarium_code', by_prefix('http://sweetgum.nybg.org/ih/herbarium_list.php?QueryName=DetailedQuery&Restriction=NamPartyType+%3D+%27IH+Herbarium%27&col_NamOrganisationAcronym=',
123 123
			'http://sweetgum.nybg.org/ih/'))
124 124
	document.write('</blockquote>')
125 125
}

Also available in: Unified diff