Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] Ko-Fi Image from the settings page is 403'ing #132

Open
1 of 5 tasks
dljsjr opened this issue Jul 26, 2024 · 0 comments
Open
1 of 5 tasks

[Bug] Ko-Fi Image from the settings page is 403'ing #132

dljsjr opened this issue Jul 26, 2024 · 0 comments
Assignees
Labels
bug Something isn't working

Comments

@dljsjr
Copy link

dljsjr commented Jul 26, 2024

Describe the bug
I was debugging a plugin I was developing and noticed that if I performed a full app reload while the dev console was open, there was a 403 for a github static asset every time I restarted Obsidian. Searching for the URL that was 403'ing in my .obsidian dir, I found that it was the URL for the image used in the Ko-Fi CTA on the Settings page:

src: 'https://camo.githubusercontent.com/3c7d0ccc8f3d2f6071fbb1aae2dd2f755212d10bc37cd57cf7b3f53862a89d85/68747470733a2f2f617a3734333730322e766f2e6d7365636e642e6e65742f63646e2f6b6f6669332e706e67',

image

The image does in fact show as broken on the settings page:

image

Trying to navigate to that asset in a browser also fails:

https://camo.githubusercontent.com/3c7d0ccc8f3d2f6071fbb1aae2dd2f755212d10bc37cd57cf7b3f53862a89d85/68747470733a2f2f617a3734333730322e766f2e6d7365636e642e6e65742f63646e2f6b6f6669332e706e67

To Reproduce
Steps to reproduce the behavior:

  1. Open the Developer Console
  2. Trigger Reload app without saving
  3. Observe the error in the console
  4. Observe the broken image on the Settings page

Expected behavior
Asset should ideally resolve with a 200 OK

Screenshots
See above

Plugin version and platform

  • Version: 1.56.0
  • Obsidian Windows
  • Obsidian Mac
  • Obsidian Linux
  • Obsidian Android
  • Obsidian iOS
@dljsjr dljsjr added the bug Something isn't working label Jul 26, 2024
marc0l92 pushed a commit that referenced this issue Jul 27, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants