angular.js/test
Igor Minar cbe31d8dfd fix($location): default to / for the url base if no base[href]
With the recent refactoring of $location service we changed this behavior
resulting in a regression.

Previously we thought that html5 mode always required base[href]
to be set in order for urls to resolve properly. It turns out that
base[href] is problematic because it makes anchor urls (#foo) to
always resolve to the base url, which is almost always incorrect
and results in all anchors links and other anchor urls (e.g. svg
references) to be broken.

For this reason, we should now start recommending that people just
deploy to root context (/) and not set the base[href] when using
the html5 mode (push/pop history state).

If it's impossible to deploy to the root context then either all
urls in the app must be absolute or base[href] must be set with the
caveat that anchor urls in such app won't work.

Closes #2762
2013-08-12 16:23:38 -07:00
..
auto fix($injector): provider can now be defined in the array format 2012-12-01 19:09:36 +01:00
bootstrap feat(bootstrap): support code prettify and dropdown from bootstrap 2012-05-04 15:50:37 -07:00
ng fix($location): default to / for the url base if no base[href] 2013-08-12 16:23:38 -07:00
ngCookies feat($cookieStore): $cookieStore.get now parses blank string as blank string 2013-05-08 10:07:24 +01:00
ngMock chore(dump): remove dead code 2013-07-22 14:01:38 -07:00
ngResource fix($http): don't encode URL query substring "null" to "+" 2013-02-26 17:29:08 -08:00
ngSanitize fix(sanitize): match URI schemes case-insensitively 2013-07-12 09:32:23 +01:00
ngScenario chore: remove jstd leftovers 2013-06-28 16:29:09 -07:00
AngularSpec.js fix(equals): {} and [] should not be considered equivalent 2013-08-12 16:23:38 -07:00
ApiSpecs.js fix(ng-repeat) to work with primitive types 2012-09-11 16:38:42 -07:00
BinderSpec.js test(sortedHtml): fix comment support in sortedHtml helper 2013-05-09 05:23:39 -07:00
jqLiteSpec.js fix(jqLite): return array from multi select in val() 2013-08-12 12:00:47 -07:00
jquery_alias.js fix(specs): fix jQuery to jqLite binding on IE8 2011-09-16 02:44:33 +02:00
jquery_remove.js fix(specs): fix jQuery to jqLite binding on IE8 2011-09-16 02:44:33 +02:00
jQueryPatchSpec.js fix(jqLite): correctly monkey-patch core jQuery methods 2013-05-23 11:45:57 -07:00
loaderSpec.js feat($controller): support controller registration via $controllerProvider 2012-03-26 15:23:29 -07:00
matchers.js chore(matchers): fix hasBeenCalledOnceWith matcher 2013-02-20 08:44:53 -08:00
testabilityPatch.js fix(dump): Prevented window.dump from being overridden by karma-jasmine. 2013-08-12 16:23:38 -07:00