Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for specification (0.19 sec)

  1. src/archive/zip/reader.go

    		return err
    	}
    	if zipinsecurepath.Value() == "0" {
    		for _, f := range r.File {
    			if f.Name == "" {
    				// Zip permits an empty file name field.
    				continue
    			}
    			// 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()
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Oct 13 18:36:46 GMT 2023
    - 27.7K bytes
    - Viewed (0)
Back to top