Page MenuHomePhabricator

D7531.id.diff
No OneTemporary

D7531.id.diff

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

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)

Event Timeline