<div>Ok - I have raised a new trac ticket (<a href="http://trac.openstreetmap.org/ticket/3986" target="_blank">http://trac.openstreetmap.org/ticket/3986</a>), and used that to point to my updated code on github (<a href="https://github.com/jones139/gpx-import" target="_blank">https://github.com/jones139/gpx-import</a>). </div>
<div><br></div><div>It seems to work ok as far as I can tell - I now get this result in the GPX Import Success email:</div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;">
<div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)"><div><div style="color:rgb(80, 0, 80)">You can view the trace here:</div></div></span></div><div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)"><div>
<div style="color:rgb(80, 0, 80)"><br></div></div></span></div><div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)"> <a href="http://www.openstreetmap.org/user/Graham%20Jones/traces/12" style="color:rgb(0, 0, 204)" target="_blank">http://www.openstreetmap.org/user/Graham%20Jones/traces/12</a></span></div>
</blockquote><div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)">
<br>rather than this:</span></div><blockquote class="webkit-indent-blockquote" style="margin: 0 0 0 40px; border: none; padding: 0px;"><div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)">You can view the trace here:</span></div>
<div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)"><br></span></div><div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)"> <a href="http://www.openstreetmap.org/user/Graham" target="_blank" style="color: rgb(0, 0, 204); ">http://www.openstreetmap.org/user/Graham</a> Jones/traces/1083146</span></div>
</blockquote><div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)"><br></span></div><div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)">[my new URL above won't work because it came from my test server, not the live one, so the trace does not exist on the live server].</span></div>
<div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)"><br></span></div><div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)">The only issue I can think of is if anyone has particularly 'interesting' characters in their user name it may not work correctly, but I think it should encode everything.</span></div>
<div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)"><br></span></div><div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)">What do I need to do to get this change implemented? Is there a dev server instance I should put it on to try first? I have just tested it on my laptop.</span></div>
<div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)"><br></span></div><div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)">Regards</span></div>
<div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)"><br></span></div><div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)"><br>
</span></div><div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)">Graham.</span></div><div><span style="font-family:arial, sans-serif;font-size:13px;background-color:rgb(255, 255, 255)"><br>
</span></div>-- <br>Graham Jones<div>
Hartlepool, UK.</div><br>