diff --git a/iguana/iguana_rpc.c b/iguana/iguana_rpc.c index 26fc9ac0b..554624dc2 100755 --- a/iguana/iguana_rpc.c +++ b/iguana/iguana_rpc.c @@ -874,7 +874,9 @@ char *SuperNET_rpcparse(struct supernet_info *myinfo,char *retbuf,int32_t bufsiz originstr = &urlstr[i + strlen(fieldstr)]; if ( strncmp(originstr,"http://127.0.0.",strlen("http://127.0.0.")) == 0 ) originstr = "http://127.0.0.1:"; - else if ( strncmp(originstr,"file://",strlen("file://")) == 0 ) //127.0.0. + else if ( strncmp(originstr,"agama://",strlen("agama://")) == 0 ) + originstr = "http://127.0.0.1:"; + else if ( strncmp(originstr,"file://127.0.0.",strlen("file://127.0.0.")) == 0 ) originstr = "http://127.0.0.1:"; else if ( strncmp(originstr,"chrome-extension://",strlen("chrome-extension://")) == 0 ) originstr = "http://127.0.0.1:";