Merge branch 'hotfix/0.0.11.8'

This commit is contained in:
Jonny Barnes 2016-09-21 15:16:52 +01:00
commit d26b40ead8
2 changed files with 4 additions and 1 deletions

View file

@ -65,7 +65,7 @@ class ParseCachedWebMentions extends Command
{
$dir = mb_substr($filepath, mb_strlen(storage_path() . '/HTML/'));
$url = str_replace(['http/', 'https/'], ['http://', 'https://'], $dir);
if (mb_substr($url, -1) == 'index.html') {
if (mb_substr($url, -10) == 'index.html') {
$url = mb_substr($url, 0, mb_strlen($url) - 10);
}

View file

@ -1,5 +1,8 @@
# Changelog
## Version 0.0.11.8 (2016-09-21)
- Fix: remove index.html from generated url
## Version 0.0.11.7 (2016-09-21)
- Fix: need to create necessary directories first