From 6a9bf6795085f34e4f2bc376eb25f84e887378da Mon Sep 17 00:00:00 2001 From: "Frank A. Krueger" Date: Sun, 15 Apr 2018 15:55:37 -0700 Subject: [PATCH] Fix sample browser loading samples with big titles --- PlatformSamples/AspNetCoreMvc/Controllers/SamplesController.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/PlatformSamples/AspNetCoreMvc/Controllers/SamplesController.cs b/PlatformSamples/AspNetCoreMvc/Controllers/SamplesController.cs index fa0d1a3..3f7df0b 100644 --- a/PlatformSamples/AspNetCoreMvc/Controllers/SamplesController.cs +++ b/PlatformSamples/AspNetCoreMvc/Controllers/SamplesController.cs @@ -53,7 +53,7 @@ namespace AspNetCoreMvc.Controllers [Route ("/Samples/Run/{name}")] public IActionResult Run (string name, bool shared) { - if (string.IsNullOrWhiteSpace (name) || name.Length > 32) + if (string.IsNullOrWhiteSpace (name) || name.Length > 128) return BadRequest (); var s = Samples.FirstOrDefault (x => x.Title == name);