| Summary: | Safari fails on request to a non-authenticated API | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Cory.Shaw.Dev |
| Component: | New Bugs | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | caitp, kevinlee324 |
| Priority: | P3 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | https://github.com/angular/angular.js/issues/8672 | ||
|
Description
Cory.Shaw.Dev
2014-08-19 11:30:53 PDT
I made a live build you can test with here: http://coryshaw.us/ngSouncloudPlaylist/ Search for any track title, then you should get the error when clicking "Play" next to any song. (In reply to comment #1) > I made a live build you can test with here: http://coryshaw.us/ngSouncloudPlaylist/ > > Search for any track title, then you should get the error when clicking "Play" next to any song. http://coryshaw.us/ngSoundcloudPlaylist/ sorry typo.. I'm experiencing the same issue with the following code snippet:
$http({
method: 'post',
url: $scope.service !== 'Photography' ? 'https://script.google.com/macros/s/identifyinginformationhere/exec' : 'https://script.google.com/macros/s/differentinformationhere/exec',
params: dict
})
.success(successf)
.error(errorf);
which generates the following three debugging output:
[Error] Failed to load resource: the server responded with a status of 405 (Method Not Allowed)
[Error] Failed to load resource: Cannot make any requests from null.
XMLHttpRequest cannot load https://script.googleusercontent.com/macros/echo?user_content_key=moredifferentinformationhere. Cannot make any requests from null.
It seems to be a CORS issue. This code works in all other browsers, just like Cory's. The request actually makes it through, because I can see modifications on the Google spreadsheet the request POSTs to, but unlike the other browsers I get a 405 and error runs. On chrome I get a 302 and successf runs.
|