(req: OriginValidationRequest)
| 905 | } |
| 906 | |
| 907 | function isSecureRequest(req: OriginValidationRequest): boolean { |
| 908 | return getPreferredPublicProtocol(req, allowHttpOrigin) === "https"; |
| 909 | } |
| 910 | |
| 911 | function getServerSessionCookiePath(req: express.Request): string { |
| 912 | return getRequestPublicBasePath(req, { allowReferer: true }); |
no test coverage detected