문제

Whether http://acme.help.com and http://acme.com can be considered as same origin? Will it fall under SO restrictions?

도움이 되었습니까?

해결책

Yup, it will fail. In order for origins to be considered same-origin, their scheme, host and port must match. Here are some examples: http://en.wikipedia.org/wiki/Same-origin_policy#Origin_determination_rules

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top