LouCypher / shortenurl

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

Wrong chars in shorten URL #107

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
Browser:Firefox
Browser version:3.6.6
Operating System:Windows XP SP3
User agent: (leave blank if you're not sure)

What steps will reproduce the problem?
1. Go to http://mapy.cz and click on "měření" button (route length) and set 
some points on any part of map
2. after setting some points, correct URL will be shown in adress bar. Then 
right click on tab and select shorten this tab URL (jdem.cz)
3. shorten url will be shown, but with broken chars in full link (char + is 
wrongly replaced by space(or %20))

What is the expected output?
http://mapy.cz/#mm=TTtTcP@dm=142316416+133677056-5120-1792-8320-7040+1664-6400+4
224-1792+7424-7936-2048-12928+640-7168+6016-13696-6784-4864-1920-4864-1664-512+1
536-1536-1152-13184+7936-1792+7040-3584+1024-3584-2304-5248+6912-5120+1152-2048-
1664-8576-3456-3200-1664-2560-384-5504-6400-4480-1664-4352-6784-4480-4864-5760-8
960-7680+4352-11776+6528-7424+4608-1664+4224-20736-128-8192-2432-9856+3328-4352+
1152-5120-2816-4352+128-2816+5504-1280+8320+1152+8576-4992+5248-6528+256-3328-19
20-4736+4864+3456+9472+0+3840+2176+11008-128+13056+5376+1664+768+9728+5888+7424+
4992+3712+1280+4480+1152-6016+1920-3584+5120-128+5504-2560+3584-1408-896-2432-61
44-768-2560-1408-768-5888+3200-7680-7552-1152+512-2176+7040-2048+1152-8576-5248-
3712+1152-3584+0+8064+4864+4864+4608+3712+1536+384+3584+1792+1536-6016+24960-217
6+768-4096+6016-4352+14080+256+4608+1024+3072+4352+2944+16512-1664+17408+10880+4
096+1408+6528+7680+6784+1024+5504+3072+4608+4480+0+3072+4608+4864+3328+5504+6528
+3456+9088+384+2432+1792-1536+7936-6784+6656-2816+4480-6144+1920-640+2816-4992+2
176-768+2944-2560+768-640+4608-3328+3968+1792+6400-1408+6528+1664+1920-8576+6400
-3584+1408-2560+4352+3968+7168-384+2688+1536+384-1536+5120-1024+3712-2944-2432-3
840-768-8448-384-7040+0-12416-4224-640-1024-2176+1664-3328+640-3072+2176-2560+16
64-5248-384-7552+4608-5248+512-7296+4864-10752+3072-8448+3968@x=142357120@y=1336
59264@z=13

What do you see instead?
http://mapy.cz/#mm=TTtTcP@dm=142316416%20133677056-5120-1792-8320-7040%201664-64
00%204224-1792%207424-7936-2048-12928%20640-7168%206016-13696-6784-4864-1920-486
4-1664-512%201536-1536-1152-13184%207936-1792%207040-3584%201024-3584-2304-5248%
206912-5120%201152-2048-1664-8576-3456-3200-1664-2560-384-5504-6400-4480-1664-43
52-6784-4480-4864-5760-8960-7680%204352-11776%206528-7424%204608-1664%204224-207
36-128-8192-2432-9856%203328-4352%201152-5120-2816-4352%20128-2816%205504-1280%2
08320%201152%208576-4992%205248-6528%20256-3328-1920-4736%204864%203456%209472%2
00%203840%202176%2011008-128%2013056%205376%201664%20768%209728%205888%207424%20
4992%203712%201280%204480%201152-6016%201920-3584%205120-128%205504-2560%203584-
1408-896-2432-6144-768-2560-1408-768-5888%203200-7680-7552-1152%20512-2176%20704
0-2048%201152-8576-5248-3712%201152-3584%200%208064%204864%204864%204608%203712%
201536%20384%203584%201792%201536-6016%2024960-2176%20768-4096%206016-4352%20140
80%20256%204608%201024%203072%204352%202944%2016512-1664%2017408%2010880%204096%
201408%206528%207680%206784%201024%205504%203072%204608%204480%200%203072%204608
%204864%203328%205504%206528%203456%209088%20384%202432%201792-1536%207936-6784%
206656-2816%204480-6144%201920-640%202816-4992%202176-768%202944-2560%20768-640%
204608-3328%203968%201792%206400-1408%206528%201664%201920-8576%206400-3584%2014
08-2560%204352%203968%207168-384%202688%201536%20384-1536%205120-1024%203712-294
4-2432-3840-768-8448-384-7040%200-12416-4224-640-1024-2176%201664-3328%20640-307
2%202176-2560%201664-5248-384-7552%204608-5248%20512-7296%204864-10752%203072-84
48%203968@x=142357120@y=133659264@z=13

Please provide any additional information below.

Original issue reported on code.google.com by d.auni...@gmail.com on 20 Jul 2010 at 7:20