From 04c03e3e06b3cb383e4246b7c351d4a552f71741 Mon Sep 17 00:00:00 2001 From: Toni Van de Voorde Date: Tue, 11 Mar 2014 10:24:56 +0100 Subject: [PATCH] Sandbox should not be disabled in https whenever a method is not marked as https explictly --- Resources/views/method.html.twig | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Resources/views/method.html.twig b/Resources/views/method.html.twig index e5e6598a5..ee056130e 100644 --- a/Resources/views/method.html.twig +++ b/Resources/views/method.html.twig @@ -193,7 +193,7 @@ {% if enableSandbox %}
- {% if app.request is not null and app.request.secure != data.https %} + {% if app.request is not null and data.https and app.request.secure != data.https %} Please reload the documentation using the scheme {% if data.https %}HTTPS{% else %}HTTP{% endif %} if you want to use the sandbox. {% else %}