mirror of
				https://github.com/meilisearch/meilisearch.git
				synced 2025-10-31 07:56:28 +00:00 
			
		
		
		
	User failure for documents with docid of ==512 bytes
This commit is contained in:
		| @@ -280,7 +280,7 @@ fn starts_with(selector: &str, key: &str) -> bool { | ||||
|  | ||||
| pub fn validate_document_id_str(document_id: &str) -> Option<&str> { | ||||
|     if document_id.is_empty() | ||||
|         || document_id.len() > 512 | ||||
|         || document_id.len() >= 512 | ||||
|         || !document_id.chars().all(|c| c.is_ascii_alphanumeric() || c == '-' || c == '_') | ||||
|     { | ||||
|         None | ||||
|   | ||||
		Reference in New Issue
	
	Block a user