Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for IncNonDefault (0.09 seconds)

  1. src/archive/zip/reader.go

    			}
    			// The zip specification states that names must use forward slashes,
    			// so consider any backslashes in the name insecure.
    			if !filepath.IsLocal(f.Name) || strings.Contains(f.Name, `\`) {
    				zipinsecurepath.IncNonDefault()
    				return ErrInsecurePath
    			}
    		}
    	}
    	return nil
    }
    
    // RegisterDecompressor registers or overrides a custom decompressor for a
    Created: Tue Apr 07 11:13:11 GMT 2026
    - Last Modified: Thu Jan 15 18:35:56 GMT 2026
    - 28.5K bytes
    - Click Count (0)
Back to Top