Page Menu
Home
Phabricator
Search
Configure Global Search
Log In
Files
F14842198
D19770.id.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.id.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
Sun, Feb 2, 9:28 PM (10 h, 23 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
7085265
Default Alt Text
D19770.id.diff (768 B)
Attached To
Mode
D19770: Correct an ambiguous regexp in DiffusionRequest
Attached
Detach File
Event Timeline
Log In to Comment