Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14406686
D19770.id47227.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Award Token
Flag For Later
Size
768 B
Referenced Files
None
Subscribers
None
D19770.id47227.diff
View Options
diff --git a/src/applications/diffusion/request/DiffusionRequest.php b/src/applications/diffusion/request/DiffusionRequest.php
--- a/src/applications/diffusion/request/DiffusionRequest.php
+++ b/src/applications/diffusion/request/DiffusionRequest.php
@@ -489,7 +489,7 @@
// Consume the back part of the URI, up to the first "$". Use a negative
// lookbehind to prevent matching '$$'. We double the '$' symbol when
// encoding so that files with names like "money/$100" will survive.
- $pattern = '@(?:(?:^|[^$])(?:[$][$])*)[$]([\d-,]+)$@';
+ $pattern = '@(?:(?:^|[^$])(?:[$][$])*)[$]([\d,-]+)$@';
if (preg_match($pattern, $blob, $matches)) {
$result['line'] = $matches[1];
$blob = substr($blob, 0, -(strlen($matches[1]) + 1));
File Metadata
Details
Attached
Mime Type
text/plain
Expires
Tue, Dec 24, 7:16 PM (1 h, 44 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6923737
Default Alt Text
D19770.id47227.diff (768 B)
Attached To
Mode
D19770: Correct an ambiguous regexp in DiffusionRequest
Attached
Detach File
Event Timeline
Log In to Comment