Files
paste/src/models/mod.rs
Leonora Tindall 5aafe2500a Redirect on invalid UTF-8 in /p/
Previously, uploading a paste with invalid UTF-8 and then viewing it
with the pretty URL would cause a panic.
With this change, it simply redirects to the raw URL.
2022-02-02 12:52:24 -06:00

5 lines
81 B
Rust

pub mod maybe_redirect;
pub mod paste_id;
pub mod pretty;
pub mod pretty_syntax;