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.
5 lines
81 B
Rust
5 lines
81 B
Rust
pub mod maybe_redirect;
|
|
pub mod paste_id;
|
|
pub mod pretty;
|
|
pub mod pretty_syntax;
|