go-safeweb icon indicating copy to clipboard operation
go-safeweb copied to clipboard

Secure-by-default HTTP servers in Go.

Results 55 go-safeweb issues
Sort by recently updated
recently updated
newest added

Create the ability of adding conformance checks that run after the mux has been set up. These would be able to: - list all the plugins registered for each handler,...

enhancement
core

# Problem Some plugins need to cooperate. For instance: `framing` plugin needs to cooperate with a `csp` plugin, `cors` would usually disable `xsrf`. # Proposed solution To avoid the extra...

enhancement
core

When fixing #57 I removed the use of `ServeMux` in all the tests in `form_test.go`, making them unit tests. But there should also be some integration tests that test the...

enhancement
testing

Currently, in order to avoid cloning a template every time we inject a XSRF token or a CSP nonce, we extended the safehttp.TemplateResponse with a `FuncMap` field. This contains the...

enhancement
plugin

The CI is broken in a subtle way. Imagine the following timeline: ``` 1. Create new branch 'A' based on 'master'. 2. Work on branch 'A'. 3. Submit PR from...

bug
testing

## Expected Behavior The collector plugin should pass the IncomingRequest or at least the `context.Context` to the report handlers. For example, if I want to log the report I need...

We'll eventually like to update the language version, and when we do we should advance to a version that has generics. We should then assess places that could be improved...

enhancement
core
needs decision

All builtin plugin packages should have exemptions in separate ones to ease bancheck or similar tools integrations. I did this in #341 for csp, fetchmetadata and framing by creating the...

good first issue
help wanted
internal cleanup
plugin

The CSP plugin currently supports report-uri, but not [report-to](https://developer.mozilla.org/en-US/docs/Web/HTTP/Headers/Content-Security-Policy/report-to).

enhancement
good first issue
plugin