<p>Stumbled over during <a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="575386966" data-permission-text="Title is private" data-url="https://github.com/bisq-network/bisq/issues/4027" data-hovercard-type="pull_request" data-hovercard-url="/bisq-network/bisq/pull/4027/hovercard" href="https://github.com/bisq-network/bisq/pull/4027">#4027</a></p>
<p>This PR adds basic input validation and correction for the custom pricenode command line parameter:</p>
<ul>
<li><code>--help</code> says</li>
</ul>
<pre><code>  --providers=<host:port[,...]>
        List custom pricenodes
</code></pre>
<ul>
<li>yet, setting the value to <code>44mgyoe2b6oqiytt.onion:80</code> fails.</li>
<li>because the correct formatting requires "http" in front and a "/" at the end</li>
</ul>

<hr>

<h4>You can view, comment on, or merge this pull request online at:</h4>
<p>  <a href='https://github.com/bisq-network/bisq/pull/4112'>https://github.com/bisq-network/bisq/pull/4112</a></p>

<h4>Commit Summary</h4>
<ul>
  <li>Add parsing to pricenode cmdline inputs</li>
</ul>

<h4>File Changes</h4>
<ul>
  <li>
    <strong>M</strong>
    <a href="https://github.com/bisq-network/bisq/pull/4112/files#diff-1a97cdbf9e4397a46af5e27b0d5e4367">core/src/main/java/bisq/core/provider/ProvidersRepository.java</a>
    (2)
  </li>
</ul>

<h4>Patch Links:</h4>
<ul>
  <li><a href='https://github.com/bisq-network/bisq/pull/4112.patch'>https://github.com/bisq-network/bisq/pull/4112.patch</a></li>
  <li><a href='https://github.com/bisq-network/bisq/pull/4112.diff'>https://github.com/bisq-network/bisq/pull/4112.diff</a></li>
</ul>

<p style="font-size:small;-webkit-text-size-adjust:none;color:#666;">—<br />You are receiving this because you are subscribed to this thread.<br />Reply to this email directly, <a href="https://github.com/bisq-network/bisq/pull/4112">view it on GitHub</a>, or <a href="https://github.com/notifications/unsubscribe-auth/AJFFTNWFQ5P2II3CV4D4GOLRKRKA5ANCNFSM4L2FWRDQ">unsubscribe</a>.<img src="https://github.com/notifications/beacon/AJFFTNXR6HHFJQZ2BTHHOATRKRKA5A5CNFSM4L2FWRD2YY3PNVWWK3TUL52HS4DFUVEXG43VMWVGG33NNVSW45C7NFSM4I2QRP2A.gif" height="1" width="1" alt="" /></p>
<script type="application/ld+json">[
{
"@context": "http://schema.org",
"@type": "EmailMessage",
"potentialAction": {
"@type": "ViewAction",
"target": "https://github.com/bisq-network/bisq/pull/4112",
"url": "https://github.com/bisq-network/bisq/pull/4112",
"name": "View Pull Request"
},
"description": "View this Pull Request on GitHub",
"publisher": {
"@type": "Organization",
"name": "GitHub",
"url": "https://github.com"
}
}
]</script>