Page MenuHomePhabricator

D17399.id.diff
No OneTemporary

D17399.id.diff

diff --git a/src/infrastructure/javelin/markup.php b/src/infrastructure/javelin/markup.php
--- a/src/infrastructure/javelin/markup.php
+++ b/src/infrastructure/javelin/markup.php
@@ -98,6 +98,19 @@
'name' => '__form__',
'value' => true,
));
+
+ // If the profiler was active for this request, keep it active for any
+ // forms submitted from this page.
+ if (DarkConsoleXHProfPluginAPI::isProfilerRequested()) {
+ $body[] = phutil_tag(
+ 'input',
+ array(
+ 'type' => 'hidden',
+ 'name' => '__profile__',
+ 'value' => true,
+ ));
+ }
+
}
}

File Metadata

Mime Type
text/plain
Expires
Tue, Dec 3, 12:51 PM (16 h, 48 m)
Storage Engine
blob
Storage Format
Encrypted (AES-256-CBC)
Storage Handle
6819392
Default Alt Text
D17399.id.diff (669 B)

Event Timeline