Bjørn Erik Pedersen
Bjørn Erik Pedersen
```bash {{ $js := resources.Get "/docs/4.3/dist/bootstrap.js" }} {{ $fingerprinted := $js | fingerprint }} {{ $fingerprinted.Data.Integrity }} // The SRI string {{ $js.RelPermalink }} // The original path, e.g. /docs/4.3/dist/bootstrap.js...
Re sha384 -- see https://github.com/gohugoio/hugo/issues/5815 -- I will get that in the (big!) release on Monday. With map files etc. in play, I think a "regular leaf bundle" will do...
@rogpeppe a simple example below. * Printing the full got/want is often much easier to reason about than the diff (especially true for tests you haven't looked at in a...
Thanks for those numbers, I will have a look to see how to do it.
>file, err := fs.Open(filepath.FromSlash(strings.TrimPrefix(redirect.To, u.Path))) I doubt that that is the culprit.
>The err value is "http: invalid character in file path" I will boot up my Windows VM and have a look tomorrow ... It's Windows 8 and every time i...
>The err value is "http: invalid character in file path" Yea, right, I misread what file system we're reading here, you were right about the "culprit" :-)
I think I have observed this myself, and I'm also pretty sure I have this fixed in a branch that has taken me a bit longer to get over the...
>This was done for security reasons There are currently two areas which currently does not support 1. The static file system, as the library used to sync those folders does...
So, I have experienced this myself, which is why I put the label on it. But now, trying to force the error, I'm not able to reproduce it. One question,...