diff options
| author | Michele Beltrame | 2014-01-13 10:37:09 +0100 | 
|---|---|---|
| committer | Pawel Kozlowski | 2014-03-01 12:58:20 +0100 | 
| commit | 9e16aaf3a912b0ab189b9a3a097e68602ddd2740 (patch) | |
| tree | 81ab5007da469f0bebd79acaf97ee34fae0c948f /docs/content | |
| parent | d3fbc25be21719e76907cacfcb0291788c79adc2 (diff) | |
| download | angular.js-9e16aaf3a912b0ab189b9a3a097e68602ddd2740.tar.bz2 | |
docs($sce/insecurl): mention port in the same origin policy
Closes #5759
The default trusted origin appears to be the same protocol+domain+port,
non just protocol+domain.
I patched the doc accordingly.
Diffstat (limited to 'docs/content')
| -rw-r--r-- | docs/content/error/$sce/insecurl.ngdoc | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/docs/content/error/$sce/insecurl.ngdoc b/docs/content/error/$sce/insecurl.ngdoc index 9691e2b5..f39c7065 100644 --- a/docs/content/error/$sce/insecurl.ngdoc +++ b/docs/content/error/$sce/insecurl.ngdoc @@ -10,7 +10,7 @@ It's also possible that a custom directive threw this error for a similar reason  Angular only loads templates from trusted URLs (by calling {@link ng.$sce#getTrustedResourceUrl $sce.getTrustedResourceUrl} on the template URL). -By default, only URLs that belong to the same origin are trusted. These are urls with the same domain and protocol as the application document. +By default, only URLs that belong to the same origin are trusted. These are urls with the same domain, protocol and port as the application document.  The {@link ng.directive:ngInclude ngInclude} directive and {@link guide/directive directives} that specify a `templateUrl` require a trusted resource URL. | 
