Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for setRequestValidityMiddleware (0.26 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. cmd/generic-handlers.go

    	} {
    		if hasValidAuth(r) {
    			authTypeCount++
    		}
    	}
    	return authTypeCount > 1
    }
    
    // requestValidityHandler validates all the incoming paths for
    // any malicious requests.
    func setRequestValidityMiddleware(h http.Handler) http.Handler {
    	return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
    		tc, ok := r.Context().Value(mcontext.ContextTraceKey).(*mcontext.TraceCtxt)
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Fri Aug 29 02:39:48 GMT 2025
    - 20.7K bytes
    - Click Count (1)
Back to Top