joshp23 / YOURLS-Expiry

YOURLS plugin to define conditions under which links will expire - time and click limited links
GNU General Public License v3.0
35 stars 13 forks source link

Don't save in database #14

Closed Lou47 closed 4 years ago

Lou47 commented 4 years ago

Hi,

Very weird, it's like the plugin don't save informations in database :

Lou47 commented 4 years ago

It's okay, my HTTP Headers Security blocked them, so I modified that

joshp23 commented 4 years ago

Ah, good find. Please consider detailing the required change, I'll add it to the README.

Lou47 commented 4 years ago

Oh yeah, actually, my Header Content-Security-Policy was on "default-src https://www.sho.rt" (default-src, script-src, frame-ancestors, form-action) but I enforce my url to https://sho.rt without "www." so it didn't work. I changed for default-src and all others to https://sho.rt.

It's a beginner error ahahah :) I use HTTP Security Header for 2 weeks.