ionicons icon indicating copy to clipboard operation
ionicons copied to clipboard

ion icons not displayed if they are hosted on a server requesting auth

Open YahyaouiMalek opened this issue 7 years ago • 2 comments

I'm submitting a:

[x] bug report [ ] feature request [ ] support request

ionicons version:

 ionicons v4.4.6

Current behavior: Currently the icon class gets the svg content without sending the cookies in microsoft edge on desktop and in every navigator on iPad. By default, fetch won't send or receive any cookies from the server, resulting in unauthenticated requests if the site relies on maintaining a user session (to send cookies, the credentials init option must be set). This means that those svgs can't be hosted on a server requesting auth.

Expected behavior: I would expect that a credentials init option is set to same-origin or include.

If there are cases I haven't thought of, please let me know. I'd also be happy with a config option to change the value.

YahyaouiMalek avatar Nov 23 '18 15:11 YahyaouiMalek

Hi, did you find any issue ?

juliengloria avatar Mar 13 '19 10:03 juliengloria

This issue has been labeled as help wanted. This label is added to issues that we believe would be good for contributors.

If you'd like to work on this issue, please comment here letting us know that you would like to submit a pull request for it. This helps us to keep track of the pull request and make sure there isn't duplicated effort.

For a guide on how to create a pull request and test this project locally to see your changes, see our contributing documentation.

Thank you!

ionitron-bot[bot] avatar Apr 21 '25 16:04 ionitron-bot[bot]