0
Fork 0
mirror of https://github.com/TryGhost/Ghost.git synced 2025-01-20 22:42:53 -05:00
ghost/core/test
JT Turner e4c52a6915 Fix urlFor to handle secure correctly
issue #6270
- Exposed getBaseUrl on the config class.
- Fix formatting config index as array was more then 140 characters long.
- Updated getBaseUrl to handle secure by replacing http with https if true.
- Fixed ghost_head helper to output canonical base url no https.
- Fixed ghost_head helper to set secure correctly for the rss link.
- Fixed navigation helper to pass secure in each nav item, so that urlFor can u$
- Fixed {{url}} to pass secure correctly to config.urlFor.
- Fixed test to use urlSSL over https besides for canonical.
- Add tests for {{url}} and to make sure they output https for absolute and secure.
- Update twitter and og url to use the canonical url.
2016-01-11 19:40:30 -08:00
..
functional Fix urlFor to handle secure correctly 2016-01-11 19:40:30 -08:00
integration Cache permalinks & postsPerPage on config.theme 2015-12-15 08:16:53 +00:00
unit Fix urlFor to handle secure correctly 2016-01-11 19:40:30 -08:00
utils Unify usage of config in unit tests 2015-12-15 10:48:24 +00:00
.jshintrc Remove jshint rules that are no longer supported 2015-01-23 21:00:37 +00:00