mirror of
https://github.com/xpipe-io/xpipe.git
synced 2026-10-09 16:41:27 +00:00
Improve URL handling
This commit is contained in:
1 file changed
+2
-2
@@ -22,7 +22,7 @@ public class XPipeUrlProvider implements LauncherUrlProvider {
|
||||
public AbstractAction createAction(URI uri) throws Exception {
|
||||
var a = uri.getHost();
|
||||
|
||||
if (a.equals("webtop")) {
|
||||
if ("webtop".equals(a)) {
|
||||
ProcModuleProvider.get().openWebtopUrl(uri);
|
||||
return null;
|
||||
}
|
||||
@@ -32,7 +32,7 @@ public class XPipeUrlProvider implements LauncherUrlProvider {
|
||||
return null;
|
||||
}
|
||||
|
||||
var query = uri.getQuery();
|
||||
var query = uri.getRawQuery();
|
||||
var action = ActionUrls.parse(query);
|
||||
|
||||
if (action.isPresent() && !action.get().requiresConfirmation()) {
|
||||
|
||||
Reference in new issue
Block a user