Skip to content

Commit

Permalink
small fix for non-path argument channeled through a URI
Browse files Browse the repository at this point in the history
  • Loading branch information
StephanPreibisch committed Oct 16, 2024
1 parent 752bccf commit 0fc0a7e
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -314,7 +314,7 @@ public boolean queryXML(
// try to parse the file anyways
boolean success;

success = tryParsing( URITools.toURI( xmlURI ), true );
success = tryParsing( xmlURI.equals( "define" ) ? URI.create( "define" ) : URITools.toURI( xmlURI ), true );

if ( buttonText != null && xmlURI.toLowerCase().equals( "define" ) && buttonText.get( 0 ).equals( "Define a new dataset" ) )
{
Expand Down

0 comments on commit 0fc0a7e

Please sign in to comment.