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

Recognize .ico files with a search query #13

Open
wants to merge 1 commit into
base: v1-netlify
Choose a base branch
from

Conversation

binyamin
Copy link
Member

Ignore a URL's search query and/or hash segment when checking the favicon's extension.

@netlify
Copy link

netlify bot commented Oct 31, 2022

Deploy Preview for eleventy-api-indieweb-avatar ready!

Name Link
🔨 Latest commit 063c6a6
🔍 Latest deploy log https://app.netlify.com/sites/eleventy-api-indieweb-avatar/deploys/636005b184fcf200087a3eab
😎 Deploy Preview https://deploy-preview-13--eleventy-api-indieweb-avatar.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.

@zachleat
Copy link
Member

I’m on board with this change but it needs to use the URL API: https://developer.mozilla.org/en-US/docs/Web/API/URL_API

Been bit too many times on string splitting URLs!

(Also sorry I’m so late on this but it looks like the test case no longer falls prey to this issue)

@binyamin
Copy link
Member Author

Should we just skip the test, and instead, refactor the code which checks the URL file extension?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants