Muut Archive Legend
@Muut · Joined 9 years ago · 18337 posts · 3878 topics · 137 reputation
Badges
Recent posts
-
Implementing a Content Security Policy
· 10 years ago
Hi, What I have in my virtualhost (nginx) : add_header Content-Security-Policy "default-src 'self'; script-src 'self' 'unsafe-inline' 'unsafe-eval'; img-src 'self' www.gravatar.com data: ; style-src '
-
Implementing a Content Security Policy
· 11 years ago
Alright thanks ! I'll dig into it and keep you posted :)
-
Implementing a Content Security Policy
· 11 years ago
btw thanks for the props :)
-
Implementing a Content Security Policy
· 11 years ago
Not sure about that but this is what I have in the getgrav.org .htaccess file: <IfModule mod_setenvif.c> <IfModule mod_headers.c> <FilesMatch "\.(gif|png|jpe?g|svg|svgz|ico|webp)$
-
Implementing a Content Security Policy
· 11 years ago
Hi everyone ! I'm trying to add a CSP to the server that runs my Grav website. So I added this into the .htaccess : Headers set Content-Security-Policy "default-src 'self' https://fonts.googleapis.com
-
Img src vs ![]()
· 10 years ago
Put both in a page and "view source." You will immediately see the problem.
-
Img src vs ![]()
· 10 years ago
Sorry for the italics, will try to use the proper syntax hightlight... In short, ---<img src=“/home/_features/pic.jpg”> doesn't work while --- --- works, and ---<
-
Img src vs ![]()
· 10 years ago
Thank you, but unfortunately still can't get it to work. (Sorry if this is such a basic question!) For example, let's say I'm at the grav-skeleton-onepage-site trying to insert a pic at the features p
-
Img src vs ![]()
· 10 years ago
Using  that is translated to the correct relative page URL. Using <img src=“pic.jpg”> will try to load yoursite.com/pic.jpg. You need to use the full relateive url (src="/mypage/pic.
-
Img src vs ![]()
· 10 years ago
Somebody pls help, I must be doing something stupid but this has been a real stumbling block as I try to make my first steps: When I use inside an .md file, the pic is shown when the page is loaded;