High-performance browser automation bridge and multi-instance orchestrator with advanced stealth injection and real-time dashboard.
fix: add post-solve domain policy check
Bosch926a575394b7
diff --git a/internal/handlers/solver.go b/internal/handlers/solver.goindex c9c008ea..d6ad1a1f 100644--- a/internal/handlers/solver.go+++ b/internal/handlers/solver.go@@ -115,6 +115,12 @@ func (h *Handlers) HandleSolve(w http.ResponseWriter, r *http.Request) {return}+ // Re-check domain policy after solve — the page may have redirected+ // to a different domain once the challenge was resolved.+ if _, ok := h.enforceCurrentTabDomainPolicy(w, r, ctx, resolvedTabID); !ok {+ return+ }+httpx.JSON(w, 200, map[string]any{"tabId": resolvedTabID,"solver": result.Solver,