<p></p>
<p dir="auto">I found the issue is a couple of lines up:</p>
<div class="highlight highlight-source-ruby" dir="auto"><pre class="notranslate"> <span class="pl-s1">more_url_params</span> <span class="pl-c1">=</span> <span class="pl-c1">CGI</span><span class="pl-kos">.</span><span class="pl-en">parse</span><span class="pl-kos">(</span><span class="pl-c1">URI</span><span class="pl-kos">.</span><span class="pl-en">parse</span><span class="pl-kos">(</span><span class="pl-en">results</span><span class="pl-kos">.</span><span class="pl-en">attributes</span><span class="pl-kos">[</span><span class="pl-s">"more_url"</span><span class="pl-kos">]</span><span class="pl-kos">)</span><span class="pl-kos">.</span><span class="pl-en">query</span><span class="pl-kos">)</span></pre></div>
<p dir="auto">dulcy server returns just the query part of the URL in more_url, the other server return a full URL</p>
<pre class="notranslate"><code class="notranslate">curl 'https://dulcy.openstreetmap.org/search.php?q=london&format=xml'
more_url="q=london&amp;addressdetails=1&amp;limit=..."

curl 'https://vhagar.openstreetmap.org/search.php?q=london&format=xml'
more_url='https://vhagar.openstreetmap.org/search.php/?q=london&amp;exclude_p...
</code></pre>
<p dir="auto">That causes the error:</p>
<pre class="notranslate"><code class="notranslate">ruby -e'require "cgi"; p CGI.parse(URI.parse("q=London").query)'
[...]/ruby/2.6.0/cgi/core.rb:384:in `parse': undefined method `split' for nil:NilClass

ruby -e'require "cgi"; p CGI.parse(URI.parse("http://example.com/search?q=London").query)'
{"q"=>["London"]}
</code></pre>
<p dir="auto">Dulcy is running the next version of Nominatim, the rewrite in Python, with Python webserver. You might also notice it puts the attributes in single quotes instead of double quotes (Python XML vs PHP XML serializing library).</p>
<p dir="auto">Adding <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/lonvia/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/lonvia">@lonvia</a> to ask if that's an oversight, the attribute is called 'URL' after all or meant to stay.</p>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />Reply to this email directly, <a href="https://github.com/openstreetmap/openstreetmap-website/issues/4137#issuecomment-1664121873">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AAK2OLNWZ3WLVONPXHASXNDXTO2HDANCNFSM6AAAAAA3CZRV7Q">unsubscribe</a>.<br />You are receiving this because you are subscribed to this thread.<img src="https://github.com/notifications/beacon/AAK2OLKYS4Y3RKVU7VQ4SQ3XTO2HDA5CNFSM6AAAAAA3CZRV7SWGG33NNVSW45C7OR4XAZNMJFZXG5LFINXW23LFNZ2KUY3PNVWWK3TUL5UWJTTDGB6BC.gif" height="1" width="1" alt="" /><span style="color: transparent; font-size: 0; display: none; visibility: hidden; overflow: hidden; opacity: 0; width: 0; height: 0; max-width: 0; max-height: 0; mso-hide: all">Message ID: <span><openstreetmap/openstreetmap-website/issues/4137/1664121873</span><span>@</span><span>github</span><span>.</span><span>com></span></span></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/openstreetmap/openstreetmap-website/issues/4137#issuecomment-1664121873",
"url": "https://github.com/openstreetmap/openstreetmap-website/issues/4137#issuecomment-1664121873",
"name": "View Issue"
},
"description": "View this Issue on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>