Increased the maximum filename limit to 255. No consistent with the DB and standards.
This commit is contained in:
@@ -239,7 +239,7 @@ async def event_file_lookup(
|
||||
@router.get('/event/file/{event_file_id}/download', response_model=Resp_Body_Base)
|
||||
async def download_event_file(
|
||||
event_file_id: str = Path(min_length=11, max_length=22),
|
||||
filename: str = Query(None, min_length=4, max_length=100),
|
||||
filename: str = Query(None, min_length=4, max_length=255),
|
||||
streaming: bool = False,
|
||||
|
||||
commons: Common_Route_Params = Depends(common_route_params),
|
||||
|
||||
Reference in New Issue
Block a user