Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for forbidden (0.07 sec)

  1. src/test/java/jcifs/util/PathValidatorTest.java

            });
        }
    
        @Test
        public void testBlacklist() throws Exception {
            validator.addToBlacklist("\\share\\forbidden");
    
            // Should block blacklisted path
            try {
                validator.validatePath("\\share\\forbidden\\file.txt");
                fail("Should block blacklisted path");
            } catch (SmbException e) {
                assertTrue(e.getMessage().contains("not allowed"));
    Registered: Sun Sep 07 00:10:21 UTC 2025
    - Last Modified: Sat Aug 30 05:58:03 UTC 2025
    - 14.6K bytes
    - Viewed (0)
  2. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb/SmbClient.java

                                        + " byte) is over " + maxLength + " byte. The url is " + filePath);
                            }
                        }
                    } else {
                        // Forbidden
                        responseData.setHttpStatusCode(Constants.FORBIDDEN_STATUS_CODE);
                        responseData.setMimeType(APPLICATION_OCTET_STREAM);
                    }
                } else if (file.isDirectory()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 22.5K bytes
    - Viewed (0)
  3. fess-crawler/src/main/java/org/codelibs/fess/crawler/client/smb1/SmbClient.java

                                        + " byte) is over " + maxLength + " byte. The url is " + filePath);
                            }
                        }
                    } else {
                        // Forbidden
                        responseData.setHttpStatusCode(Constants.FORBIDDEN_STATUS_CODE);
                        responseData.setMimeType(APPLICATION_OCTET_STREAM);
                    }
                } else if (file.isDirectory()) {
    Registered: Sun Sep 21 03:50:09 UTC 2025
    - Last Modified: Thu Sep 18 09:30:45 UTC 2025
    - 23K bytes
    - Viewed (0)
  4. cmd/post-policy_test.go

    		{http.StatusForbidden, "invalidsecretkey", map[string]string{"Awsaccesskeyid": credentials.AccessKey}},
    		{http.StatusNoContent, credentials.SecretKey, map[string]string{"Awsaccesskeyid": credentials.AccessKey}},
    		// Forbidden with key not in policy.conditions for signed requests V2.
    		{http.StatusForbidden, credentials.SecretKey, map[string]string{"Awsaccesskeyid": credentials.AccessKey, "AnotherKey": "AnotherContent"}},
    	}
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 30.6K bytes
    - Viewed (0)
  5. cmd/bucket-handlers.go

    // The operation returns a 200 OK if the bucket exists and you
    // have permission to access it. Otherwise, the operation might
    // return responses such as 404 Not Found and 403 Forbidden.
    func (api objectAPIHandlers) HeadBucketHandler(w http.ResponseWriter, r *http.Request) {
    	ctx := newContext(r, w, "HeadBucket")
    
    	defer logger.AuditLog(ctx, w, r, mustGetClaimsFromToken(r))
    
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 63.9K bytes
    - Viewed (0)
  6. cmd/object-handlers.go

    		return
    	}
    
    	rcfg, _ := globalBucketObjectLockSys.Get(bucket)
    	if rcfg.LockEnabled && opts.DeletePrefix {
    		apiErr := toAPIError(ctx, errInvalidArgument)
    		apiErr.Description = "force-delete is forbidden on Object Locking enabled buckets"
    		writeErrorResponse(ctx, w, apiErr, r.URL)
    		return
    	}
    
    	os := newObjSweeper(bucket, object).WithVersion(opts.VersionID).WithVersioning(opts.Versioned, opts.VersionSuspended)
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Sun Sep 07 16:13:09 UTC 2025
    - 120.6K bytes
    - Viewed (0)
  7. cmd/object-handlers_test.go

    			expectedRespStatus: http.StatusNoContent,
    		},
    		// Test case - 3.
    		// Setting Invalid AccessKey to force signature check inside the handler to fail.
    		// Should return HTTP response status 403 forbidden.
    		{
    			bucketName: bucketName,
    			objectName: objectName,
    			accessKey:  "Invalid-AccessKey",
    			secretKey:  credentials.SecretKey,
    
    			expectedRespStatus: http.StatusForbidden,
    		},
    	}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 163.1K bytes
    - Viewed (0)
  8. docs/en/docs/release-notes.md

        return data
    ```
    
    Read the new docs: [Form Models - Forbid Extra Form Fields](https://fastapi.tiangolo.com/tutorial/request-form-models/#forbid-extra-form-fields).
    
    ### Features
    
    * ✨ Add support for forbidding extra form fields with Pydantic models. PR [#12134](https://github.com/fastapi/fastapi/pull/12134) by [@tiangolo](https://github.com/tiangolo).
    
    ### Docs
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Fri Sep 05 12:48:45 UTC 2025
    - 544.1K bytes
    - Viewed (0)
Back to top