Page Menu
Home
DevCentral
Search
Configure Global Search
Log In
Files
F3774475
D1879.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
402 B
Referenced Files
None
Subscribers
None
D1879.diff
View Options
diff --git a/src/registry.rs b/src/registry.rs
--- a/src/registry.rs
+++ b/src/registry.rs
@@ -140,7 +140,7 @@
pub fn is_valid_name(name: &str) -> bool {
lazy_static! {
- static ref RE: Regex = Regex::new("^/?[a-zA-Z0-9_-]+$").unwrap();
+ static ref RE: Regex = Regex::new("^[a-zA-Z0-9_-]+$").unwrap();
}
RE.is_match(name) && name.len() <= 30
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Nov 25, 11:59 (20 h, 56 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
2260324
Default Alt Text
D1879.diff (402 B)
Attached To
Mode
D1879: Don't accept initial / as container name
Attached
Detach File
Event Timeline
Log In to Comment