Skip to content

Commit

Permalink
Merge branch 'master' of https://github.com/SeaHOH/GotoX
Browse files Browse the repository at this point in the history
  • Loading branch information
SeaHOH committed Sep 13, 2022
2 parents de61ea2 + 9a4e6bf commit dbd6290
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion local/ProxyHandler.py
Original file line number Diff line number Diff line change
Expand Up @@ -1393,7 +1393,9 @@ def _set_temp_FAKECERT(self):
self.badhost[host] = 1

def go_TEMPACT(self):
if GC.LISTEN_ACT == 'GAE' and self.command not in self.gae_fetcmds:
if GC.LISTEN_ACT == 'GAE' and (self.command not in self.gae_fetcmds or not GC.GAE_APPIDS):
return self.go_BAD()
elif GC.LISTEN_ACT == "CFW" and not (GC.CFW_SUBDOMAIN and GC.CFW_WORKERS or GC.CFW_WORKER):
return self.go_BAD()
self._set_temp_ACT()
self.action = GC.LISTEN_ACTNAME
Expand All @@ -1405,6 +1407,10 @@ def go_FAKECERT(self):
self.do_action()

def go_FAKECERT_TEMPACT(self):
if GC.LISTEN_ACT == 'GAE' and (self.command not in self.gae_fetcmds or not GC.GAE_APPIDS):
return self.go_BAD()
elif GC.LISTEN_ACT == "CFW" and not (GC.CFW_SUBDOMAIN and GC.CFW_WORKERS or GC.CFW_WORKER):
return self.go_BAD()
self.path = '/'
self._set_temp_ACT()
self._set_temp_ACT()
Expand Down

0 comments on commit dbd6290

Please sign in to comment.