mirror of
https://github.com/d0zingcat/cors-anywhere.git
synced 2026-05-14 07:26:49 +00:00
Removed ? from path's regexp, because "http://cors-anywhere/" + "/domain.com/file" = "http://cors-anywhere//domain.com/file" SHOULD be an invalid request. "//domain.com/file" can be resolved to "http://domain.com/file", but "/domain.com/file" should resolved to http://host/domain.com/file, but since the host is unknown, the API should just fail.