mirror of
https://gitlab.com/famedly/conduit.git
synced 2024-12-27 13:03:47 +03:00
fix: remove content-disposition debug prints
This commit is contained in:
parent
3c93c81204
commit
a2b72f48b9
1 changed files with 0 additions and 2 deletions
|
@ -972,11 +972,9 @@ impl KeyValueDatabase {
|
||||||
if content_disposition.contains("filename=")
|
if content_disposition.contains("filename=")
|
||||||
&& !content_disposition.contains("filename=\"")
|
&& !content_disposition.contains("filename=\"")
|
||||||
{
|
{
|
||||||
println!("{}", &content_disposition);
|
|
||||||
content_disposition =
|
content_disposition =
|
||||||
content_disposition.replacen("filename=", "filename=\"", 1);
|
content_disposition.replacen("filename=", "filename=\"", 1);
|
||||||
content_disposition.push('"');
|
content_disposition.push('"');
|
||||||
println!("{}", &content_disposition);
|
|
||||||
|
|
||||||
let mut new_key = mediaid[..(mediaid.len() - removed_bytes)].to_vec();
|
let mut new_key = mediaid[..(mediaid.len() - removed_bytes)].to_vec();
|
||||||
assert!(*new_key.last().unwrap() == 0xff);
|
assert!(*new_key.last().unwrap() == 0xff);
|
||||||
|
|
Loading…
Reference in a new issue