Permalink
Browse files

Fix remaining invalid routes

  • Loading branch information...
1 parent 4060921 commit 321a28eacd7e43a52b48e00ea3b17e0ba170f7f3 @mythz mythz committed Mar 17, 2013
@@ -33,6 +33,9 @@ public class EndpointHostConfig
public static readonly string LicensePublicKey = "<RSAKeyValue><Modulus>19kx2dJoOIrMYypMTf8ssiCALJ7RS/Iz2QG0rJtYJ2X0+GI+NrgOCapkh/9aDVBieobdClnuBgW08C5QkfBdLRqsptiSu50YIqzVaNBMwZPT0e7Ke02L/fV/M/fVPsolHwzMstKhdWGdK8eNLF4SsLEcvnb79cx3/GnZbXku/ro5eOrTseKL3s4nM4SdMRNn7rEAU0o0Ijb3/RQbhab8IIRB4pHwk1mB+j/mcAQAtMerwpHfwpEBLWlQyVpu0kyKJCEkQjbaPzvfglDRpyBOT5GMUnrcTT/sBr5kSJYpYrgHnA5n4xJnvrnyFqdzXwgGFlikRTbc60pk1cQEWcHgYw==</Modulus><Exponent>AQAB</Exponent></RSAKeyValue>";
public static bool SkipPathValidation = false;
+ /// <summary>
+ /// Use: \[Route\("[^\/] regular expression to find violating routes in your sln
+ /// </summary>
public static bool SkipRouteValidation = false;
public static string ServiceStackPath = null;
@@ -11,7 +11,7 @@
namespace ServiceStack.WebHost.Endpoints.Tests.IntegrationTests
{
[DataContract(Namespace = ExampleConfig.DefaultNamespace)]
- [Route("restmovies/{Id}")]
+ [Route("/restmovies/{Id}")]
public class RestMovies
{
[DataMember(EmitDefaultValue = false)]
@@ -376,7 +376,7 @@ public object Any(InboxPostResponseRequest request)
}
}
- [Route("inbox/{Id}/responses", "GET, PUT, OPTIONS")]
+ [Route("/inbox/{Id}/responses", "GET, PUT, OPTIONS")]
public class InboxPost
{
public bool Throw { get; set; }

0 comments on commit 321a28e

Please sign in to comment.