HughP / simal

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

Ampersands in urls break the DOAP XML in the Wookie widget #310

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
When using the add project Wookie widget to submit a project, if you use an '&' 
in one of the urls, these will be put in the XML unescaped, causing the 
addProject REST call to fail (without telling you what's wrong - Issue 309).

So we need to escape ampersands in the urls.

Original issue reported on code.google.com by sander.v...@oucs.ox.ac.uk on 30 Jun 2010 at 10:03

GoogleCodeExporter commented 9 years ago
Hmm and when you try to circumvent the problem by escaping the ampersands 
manually the checks complain that the URL is invalid.

Original comment by sander.v...@oucs.ox.ac.uk on 30 Jun 2010 at 10:07

GoogleCodeExporter commented 9 years ago

Original comment by sander.v...@oucs.ox.ac.uk on 30 Jun 2010 at 10:17

GoogleCodeExporter commented 9 years ago

Original comment by sander.v...@oucs.ox.ac.uk on 8 Jul 2010 at 11:21

GoogleCodeExporter commented 9 years ago

Original comment by sander.v...@oucs.ox.ac.uk on 20 Jul 2010 at 10:28

GoogleCodeExporter commented 9 years ago
This issue was updated by revision r1974.

Fixed the escaping part

Original comment by sander.v...@oucs.ox.ac.uk on 22 Jul 2010 at 6:06

GoogleCodeExporter commented 9 years ago

Original comment by sander.v...@oucs.ox.ac.uk on 23 Jul 2010 at 9:26

GoogleCodeExporter commented 9 years ago
OK so now you can enter URls with ampersands in them.

You just can't enter URLs with ampersands used as entity reference (&). AFAICS 
it's correct that the JavaScript check is complaining about entity references 
in the URLs so I consider this one fixed.

Original comment by sander.v...@oucs.ox.ac.uk on 27 Jul 2010 at 11:24