Any idea why I’m not allowed to select the routes.yaml file in this folder? (It’s greyed out.)
That’s very odd @bradlau , is that happening for any file you try to upload to Ghost or just the routes file? Have you been able to upload a redirects.json
file for example?
Yes @bradlau , that problem arises when you try to load in Safari. A transitional solution to this problem is to try loading it into Google Chrome. That way, you will avoid this charging problem.
I hope I’ve helped. A hug.
Jesús.-
I didn’t realise this was an actual bug. @bradlau it’s been reported here:
opened 12:58PM - 18 Dec 19 UTC
closed 11:05AM - 08 May 20 UTC
bug
good first issue
admin client
help wanted
### Issue Summary
In Safari 13.0.4 on macOS 10.15.2, the 'Upload routes YAML'… button triggers a file browser that only allows selection of files ending in `.yml`. These are not accepted by the application, which requires a `.yaml` extension. This results in routes not being uploadable with Safari.
### To Reproduce
1. In Safari, click the 'Upload routes YAML' button in Labs.
This doesn't happen in Firefox or Chrome. In Firefox, all files are selectable, in Chrome, `yaml` files are selectable.
### Technical details:
* Ghost Version: 3.2.0
* Node Version: 10.18.0
* Browser/OS: Safari 13.0.4
* Database: MySQL
And a fix is in the works here:
TryGhost:master
← formerandroider:bug-safari-yaml-11472
opened 04:13AM - 20 Jan 20 UTC
closes TryGhost/Ghost#11472
Works around a probable Safari bug in which only … `yml` files were selectable with the existing `accept` field value. Adds a new `yamlAccept` variable which combines the mime types with the yaml extension array (providing the `yaml` extension explicitly allows it).
- [x] There's a clear use-case for this code change
- [x] Commit message has a short title & references relevant issues
- [x] The build will pass (run `ember test` from the repo root - will be `core/client` if working from the submodule in Ghost).
I was able to upload the file using Firefox. Looking forward to when that fix for Safari is released.
Thanks @DavidDarnes and @Dreamsur !
2 Likes
I had the same problem in Safari. Worked fine through Chrome though. Woohoo!
If you’re on the latest version of Ghost, it should work in Safari now
1 Like