mirror of
https://github.com/nitnelave/lldap.git
synced 2023-04-12 14:25:13 +00:00
misc: Forbid non-ascii identifiers
That prevents a class of unicode attacks, e.g. invisible characters.
This commit is contained in:
parent
fa0105fa96
commit
77ced7ea43
@ -1,4 +1,5 @@
|
||||
#![recursion_limit = "256"]
|
||||
#![forbid(non_ascii_idents)]
|
||||
#![allow(clippy::nonstandard_macro_braces)]
|
||||
pub mod components;
|
||||
pub mod infra;
|
||||
|
@ -1,3 +1,4 @@
|
||||
#![forbid(non_ascii_idents)]
|
||||
#![allow(clippy::nonstandard_macro_braces)]
|
||||
use chrono::prelude::*;
|
||||
use serde::{Deserialize, Serialize};
|
||||
|
@ -1,4 +1,5 @@
|
||||
#![forbid(unsafe_code)]
|
||||
#![forbid(non_ascii_idents)]
|
||||
#![allow(clippy::nonstandard_macro_braces)]
|
||||
|
||||
use crate::{
|
||||
|
Loading…
Reference in New Issue
Block a user