mirror of
https://github.com/fafhrd91/actix-web
synced 2025-01-18 05:41:50 +01:00
Bump v_htmlescape version to 0.4
This commit is contained in:
parent
a534fdd125
commit
f5bec968c7
@ -64,7 +64,7 @@ cell = ["actix-net/cell"]
|
|||||||
actix = "0.7.9"
|
actix = "0.7.9"
|
||||||
actix-net = "0.2.6"
|
actix-net = "0.2.6"
|
||||||
|
|
||||||
v_htmlescape = "0.3.2"
|
v_htmlescape = "0.4"
|
||||||
base64 = "0.10"
|
base64 = "0.10"
|
||||||
bitflags = "1.0"
|
bitflags = "1.0"
|
||||||
failure = "^0.1.2"
|
failure = "^0.1.2"
|
||||||
|
@ -11,7 +11,7 @@ use std::{cmp, io};
|
|||||||
#[cfg(unix)]
|
#[cfg(unix)]
|
||||||
use std::os::unix::fs::MetadataExt;
|
use std::os::unix::fs::MetadataExt;
|
||||||
|
|
||||||
use v_htmlescape::HTMLEscape;
|
use v_htmlescape::escape as escape_html_entity;
|
||||||
use bytes::Bytes;
|
use bytes::Bytes;
|
||||||
use futures::{Async, Future, Poll, Stream};
|
use futures::{Async, Future, Poll, Stream};
|
||||||
use futures_cpupool::{CpuFuture, CpuPool};
|
use futures_cpupool::{CpuFuture, CpuPool};
|
||||||
@ -569,11 +569,6 @@ macro_rules! encode_file_url {
|
|||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
||||||
#[inline]
|
|
||||||
fn escape_html_entity(s: &str) -> HTMLEscape {
|
|
||||||
HTMLEscape::from(s)
|
|
||||||
}
|
|
||||||
|
|
||||||
// " -- " & -- & ' -- ' < -- < > -- > / -- /
|
// " -- " & -- & ' -- ' < -- < > -- > / -- /
|
||||||
macro_rules! encode_file_name {
|
macro_rules! encode_file_name {
|
||||||
($entry:ident) => {
|
($entry:ident) => {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user