aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/http.js
diff options
context:
space:
mode:
authorMisko Hevery2012-06-13 15:37:52 -0700
committerMisko Hevery2013-04-15 12:05:27 -0700
commit58ef32308f45141c8f7f7cc32a6156cd328ba692 (patch)
treeeb0e5178e1e492aec2db6593594fb9cba8435976 /src/ng/http.js
parent59bfe8e5a9edf7ba000d258b9ac1ef8355c9aca7 (diff)
downloadangular.js-58ef32308f45141c8f7f7cc32a6156cd328ba692.tar.bz2
fix($location): fix URL interception in hash-bang mode
Closes #1051
Diffstat (limited to 'src/ng/http.js')
-rw-r--r--src/ng/http.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/http.js b/src/ng/http.js
index b0f8de62..dd949a6c 100644
--- a/src/ng/http.js
+++ b/src/ng/http.js
@@ -52,7 +52,7 @@ function isSameDomain(requestUrl, locationUrl) {
relativeProtocol: match[2] === undefined || match[2] === ''
};
- match = URL_MATCH.exec(locationUrl);
+ match = SERVER_MATCH.exec(locationUrl);
var domain2 = {
protocol: match[1],
host: match[3],