[Webkit-unassigned] [Bug 88139] The value in Access-Control-Allow-Origin is not being matched correctly for CORS-enabled requests

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Jun 12 10:39:44 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=88139





--- Comment #29 from Pablo Flouret <pablof at motorola.com>  2012-06-12 10:39:43 PST ---
(In reply to comment #28)
> (From update of attachment 146653 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=146653&action=review
> 
> > LayoutTests/http/tests/xmlhttprequest/resources/origin-exact-matching-iframe.html:9
> > +var urlTemplate = "http://127.0.0.1:8000/xmlhttprequest/resources/redirect-cors.php?access-control-allow-origin=";
> 
> You're not passing any "url" argument to redirect-cors.php. What is the expected behavior in that case? On GTK and EFL ports (both using libsoup), we end up with "Too many redirects" errors because it keep redirecting the same URL (http://127.0.0.1:8000/xmlhttprequest/resources/redirect-cors.php?access-control-allow-origin=...). Shouldn't we pass some URL to avoid this?

Hmm, i thought that without a $url or $redirect_preflight it wouldn't actually do the redirect. I'll fix the test.

-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.



More information about the webkit-unassigned mailing list