jub0bs
jub0bs
May I ask what prompted the signature of the `allowOriginFunc` field? ```go allowOriginFunc func(r *http.Request, origin string) bool ``` What do you need the `http.Request` for? Do you have real-world...
@umbynos FWIW, [jub0bs/fcors](https://github.com/jub0bs/fcors) supports Private Network Access and [can be used in conjunction with Gin](https://github.com/jub0bs/fcors-examples/blob/main/gin/main.go).
Incidentally, gin-contrib/cors also [appears to support Private Network Access](https://github.com/gin-contrib/cors/issues/81), now.
The simplest way to fix this, in my experience, is to initialise a module where your slides are: ```shell go mod init mytalk ``` and then add `golang.org/x/tools/present` as a...
@reginbald I'm curious about your use case. Can you share more details?
@rs No feedback from OP; you could likely close this issue.
@rs Now that https://github.com/rs/cors/pull/175 has been merged, this one can be closed.
@rs Because this task was done as part of https://github.com/rs/cors/pull/173, you can safely close this PR. 😇
Here is a recent example, but it contains few details about the PoC: https://hackerone.com/reports/335330
@soareswallace Ah yes, I had overlooked that. Thanks.