mirror of
https://github.com/thedevs-network/kutt-extension.git
synced 2026-02-03 05:43:24 +00:00
[BUG] CORS Exclusion rules or some fix? #42
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @uhlhosting on GitHub.
I just enabled CORS in Kutt deployment for security testing. What ever is super funny that the plugin works fine from Firefox:

Not working from Chrome / Opera.
@abhijithvijayan commented on GitHub:
@uhlhosting Please supply
httporhttpsto the devMode url. The extension requests permission to allhttpandhttpsurls.@uhlhosting commented on GitHub:
The idea is this, what location exclusion should I have to add into CORS, to have the Chrome and Opera working, while like I said Firefox works fine. I am not sure what firefox does, yet it simply works.
@uhlhosting commented on GitHub:
I did supplied https: .
@abhijithvijayan commented on GitHub:
This issue is only in development mode of Kutt right?
and the error shows that you have only enabled CORS via the core domain. In order to make the extension bypass CORS, you have to enable CORS from every source. Make changes to Kutt itself.
The 'Access-Control-Allow-Origin' header has a value 'https://uhl.site'This is not the issue with the extension
@uhlhosting commented on GitHub:
I am just wondering what is the incoming source for chrome so that it could be excluded.
@abhijithvijayan commented on GitHub:
From what I guess, CORS must be allowed to all the source endpoints in order to make this work.
Also did you test the API using some api-client like PostMan or Insomnia in the development mode?