Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F13984895
D7531.id.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
636 B
Referenced Files
None
Subscribers
None
D7531.id.diff
View Options
Index: src/applications/repository/conduit/ConduitAPI_repository_create_Method.php
===================================================================
--- src/applications/repository/conduit/ConduitAPI_repository_create_Method.php
+++ src/applications/repository/conduit/ConduitAPI_repository_create_Method.php
@@ -83,7 +83,7 @@
$repository->setName($request->getValue('name'));
$callsign = $request->getValue('callsign');
- if (!preg_match('/[A-Z]+$/', $callsign)) {
+ if (!preg_match('/^[A-Z]+$/', $callsign)) {
throw new ConduitException('ERR-BAD-CALLSIGN');
}
$repository->setCallsign($callsign);
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Mon, Oct 21, 4:43 PM (3 w, 1 d ago)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6739619
Default Alt Text
D7531.id.diff (636 B)
Attached To
Mode
D7531: Tighten a regular expression in `repository.create`
Attached
Detach File
Event Timeline
Log In to Comment