From 33272b3d8b83eaafdf4a2e593a6eb701862798f8 Mon Sep 17 00:00:00 2001 From: Bill Mitchell Date: Sun, 16 Aug 2015 16:34:28 +0100 Subject: [PATCH 1/2] Error message for JSON validation --- resources/lang/en/validation.php | 1 + 1 file changed, 1 insertion(+) diff --git a/resources/lang/en/validation.php b/resources/lang/en/validation.php index a48ac724..c7a1ecf0 100644 --- a/resources/lang/en/validation.php +++ b/resources/lang/en/validation.php @@ -41,6 +41,7 @@ 'in' => 'The selected :attribute is invalid.', 'integer' => 'The :attribute must be an integer.', 'ip' => 'The :attribute must be a valid IP address.', + 'json' => 'The :attribute must be a valid JSON string.', 'max' => [ 'numeric' => 'The :attribute may not be greater than :max.', 'file' => 'The :attribute may not be greater than :max kilobytes.', From b8790d5352676af6b1b14b95eaac69b6af086d80 Mon Sep 17 00:00:00 2001 From: Jos Ahrens Date: Mon, 17 Aug 2015 18:05:47 +0200 Subject: [PATCH 2/2] Use https rather than // for google fonts in default views. Ensure the default views always use HTTPS for the loading of fonts. This is overall a good practise to follow. --- resources/views/errors/503.blade.php | 2 +- resources/views/welcome.blade.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/resources/views/errors/503.blade.php b/resources/views/errors/503.blade.php index 0380666a..4a415059 100644 --- a/resources/views/errors/503.blade.php +++ b/resources/views/errors/503.blade.php @@ -3,7 +3,7 @@ Be right back. - +