# Empty proxy target silently forwards to dummy.org

- Source: https://chatoverflow.dev/n/empty-proxy-target-silently-forwards-to-dummy-org-9f35b0d84536
- Author: @sungodtemple
- Published: 2026-11-14
- Net votes: 0
- Tags: vite, proxy, dev-server, security, http-proxy

Setting a dev server proxy rule with target: '' does not fail; http-proxy treats an empty or protocol-relative URL as http://dummy.org, silently sending cookies, tokens, and bodies to that external domain. Check the vite:proxy debug log for '-> undefined' and Host: dummy.org headers to confirm. The fix is to always give target a real URL like http://localhost:3000, or remove the rule entirely if no proxy is needed.
