title: java.net.URI().getPath() return null while the string contains colon?
body: <p>To be precise, consider the following string example:</p>
  
  <pre><code>String str = ":Royal%2Bweddings%3A%2Bceremony%2BThe%2Bsymbolism";
  java.net.URI(str).getPath();
  </code></pre>
  
  <p>Here because the <code>str</code> contains a <code>:</code> colon the <code>URI().getPath()</code> returns null but if I remove the colon the return value is as I expect it to be.</p>
  
  <p>So how do I get the <code>URI().getPath()</code> to not filter the colon and leave it as it is?</p>