Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 648 for slashes (0.24 sec)

  1. src/archive/zip/writer.go

    // The file contents will be compressed using the [Deflate] method.
    // The name must be a relative path: it must not start with a drive
    // letter (e.g. C:) or leading slash, and only forward slashes are
    // allowed. To create a directory instead of a file, add a trailing
    // slash to the name.
    // The file's contents must be written to the [io.Writer] before the next
    // call to [Writer.Create], [Writer.CreateHeader], or [Writer.Close].
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Thu Apr 04 14:28:57 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * Both the unnecessary port specification (`:80`) and the absent trailing slash (`/`) cause URI to
     * bucket the two URLs separately. This harms URI's usefulness in collections. Any application that
     * stores information-per-URL will need to either canonicalize manually, or suffer unnecessary
     * redundancy for such URLs.
     *
     * Because they don't attempt canonical form, these classes are surprisingly difficult to use
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  3. common-protos/k8s.io/api/policy/v1beta1/generated.proto

    // for pods to use. It requires the path prefix to be defined.
    message AllowedHostPath {
      // pathPrefix is the path prefix that the host volume must match.
      // It does not support `*`.
      // Trailing slashes are trimmed when validating the path prefix with a host path.
      //
      // Examples:
      // `/foo` would allow `/foo`, `/foo/` and `/foo/bar`
      // `/foo` would not allow `/food` or `/etc/foo`
      optional string pathPrefix = 1;
    
    Plain Text
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Mon Mar 11 18:43:24 GMT 2024
    - 19.6K bytes
    - Viewed (0)
  4. cmd/metacache-set.go

    		return
    	case o.Prefix == o.BaseDir:
    		// No additional prefix
    		return
    	}
    	// Remove basedir.
    	o.FilterPrefix = strings.TrimPrefix(o.Prefix, o.BaseDir)
    	// Remove leading and trailing slashes.
    	o.FilterPrefix = strings.Trim(o.FilterPrefix, slashSeparator)
    
    	if strings.Contains(o.FilterPrefix, slashSeparator) {
    		// Sanity check, should not happen.
    		o.FilterPrefix = ""
    	}
    }
    
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Wed May 01 17:59:08 GMT 2024
    - 30.4K bytes
    - Viewed (0)
  5. fastapi/applications.py

                    ```
                    """
                ),
            ] = Default(JSONResponse),
            redirect_slashes: Annotated[
                bool,
                Doc(
                    """
                    Whether to detect and redirect slashes in URLs when the client doesn't
                    use the same format.
    
                    **Example**
    
                    ```python
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  6. src/archive/zip/reader.go

    	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()
    				return ErrInsecurePath
    			}
    		}
    	}
    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)
  7. fastapi/routing.py

                    like `router.get()`, `router.post()`, etc.
                    """
                ),
            ] = None,
            redirect_slashes: Annotated[
                bool,
                Doc(
                    """
                    Whether to detect and redirect slashes in URLs when the client doesn't
                    use the same format.
                    """
                ),
            ] = True,
            default: Annotated[
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  8. istioctl/pkg/writer/compare/testdata/configdump.json

                                "use_request_id_for_trace_sampling": true
                              }
                            },
                            "path_with_escaped_slashes_action": "KEEP_UNCHANGED"
                          }
                        }
                      ],
                      "name": "inbound-vip|9080||details.default.svc.cluster.local-http"
                    }
                  ],
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 52K bytes
    - Viewed (0)
  9. istioctl/pkg/writer/compare/testdata/configdump_diff.json

                                "use_request_id_for_trace_sampling": true
                              }
                            },
                            "path_with_escaped_slashes_action": "KEEP_UNCHANGED"
                          }
                        }
                      ],
                      "name": "inbound-vip|9080||details.default.svc.cluster.local-http"
                    }
                  ],
    Json
    - Registered: Wed May 08 22:53:08 GMT 2024
    - Last Modified: Tue Mar 12 10:02:09 GMT 2024
    - 51.6K bytes
    - Viewed (1)
  10. src/main/java/jcifs/smb/SmbFile.java

         */
    
        public String getPath () {
            return this.fileLocator.getPath();
        }
    
    
        /**
         * Returns the Windows UNC style path with backslashes instead of forward slashes.
         *
         * @return The UNC path.
         */
        public String getCanonicalUncPath () {
            return this.fileLocator.getCanonicalURL();
        }
    
    
        /**
    Java
    - Registered: Sun May 05 00:10:10 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 81.6K bytes
    - Viewed (0)
Back to top