PiRSquared17 / morisoliver

Automatically exported from code.google.com/p/morisoliver
0 stars 0 forks source link

Permalink from IE contains spaces #18

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Open MORIS in IE 
2. Click the Permalink 
3. The link created will contain spaces:

http://maps.massgis.state.ma.us/map_ol/moris.php?lyrs=Massachusetts Municipal 
Boundaries Lines~massgis:GISDATA.TOWNSSURVEY_ARC|Digital Offshore Cadastre - 
Atlantic83 - Submerged Lands Act (SLA) Boundary 
Line~massgis:MORIS.SLA_ARC|Massachusetts Lateral 
Boundaries~massgis:MORIS.MASS_LATERAL_BOUNDARIES_ARC|New England 
Mask~massgis:GISDATA.NEMASK_POLY&bbox=-72.84547298005239,40.85604805817676,-68.1
9276301994812,43.24185375959211&coordUnit=dms&measureUnit=m&base=googleSatellite
&center=-7850152.3069508,5169994.562051&zoom=1

The link from Firefox will have converted the spaces to %20:

http://maps.massgis.state.ma.us/map_ol/moris.php?lyrs=Massachusetts%20Municipal%
20Boundaries%20Lines~massgis:GISDATA.TOWNSSURVEY_ARC|Digital%20Offshore%20Cadast
re%20-%20Atlantic83%20-%20Submerged%20Lands%20Act%20(SLA)%20Boundary%20Line~mass
gis:MORIS.SLA_ARC|Massachusetts%20Lateral%20Boundaries~massgis:MORIS.MASS_LATERA
L_BOUNDARIES_ARC|New%20England%20Mask~massgis:GISDATA.NEMASK_POLY&bbox=-72.84547
298005239,40.85604805817676,-68.19276301994812,43.24185375959211&coordUnit=dms&m
easureUnit=m&base=googleSatellite&center=-7850152.3069508,5169994.562051&zoom=1

It's true that the user could copy and paste the link that contains spaces into 
an IE or Firefox browser and the link would work.  However, it would be helpful 
if the application created Permalinks with %20 instead of spaces, because the 
link pasted into an email would be converted into a link in its entirety, not 
just partially.

Tested with Windows XP, IE 8 and MORISOLIVER v. 0.35

Original issue reported on code.google.com by Aleda.Fr...@state.ma.us on 2 Mar 2011 at 4:00

GoogleCodeExporter commented 9 years ago
I couldn't reproduce this in any version of IE, but I did go ahead and make 
sure that all spaces were encoded.

Committed revision 56.

Original comment by cpl...@gmail.com on 17 Aug 2011 at 5:42

GoogleCodeExporter commented 9 years ago
Works for me.  If I paste into an email it's a full link, no spaces.

Original comment by Aleda.Fr...@state.ma.us on 22 Aug 2011 at 6:40

GoogleCodeExporter commented 9 years ago
Works for me as well in IE9.

Original comment by daniel.s...@state.ma.us on 25 Aug 2011 at 5:58

GoogleCodeExporter commented 9 years ago
Works for me. Tested with IE9 on Windows 7.

Original comment by emily.hu...@state.ma.us on 23 Sep 2011 at 5:42