On Wed, Mar 19, 2014 at 5:34 AM, Xi Shen <[email protected]> wrote:

> Yes, I use wildcards in my app.yaml, and on my local the URL is passed to
> my application, and my application will handle more detailed routing logic.
>
> I found a walk around, and it looks weird...
>
> On the client, in JS code, I double encode "TEST with slash / a slash",
> using "encodeURIComponent", then this request can be passed to my
> application. I have tested it both on my local and online environment.
>
> You can take a look at
> http://davidshen84.appspot.com/blog/2014/3/How%2520to%2520disable%2520Hibernate%2520in%2520Windows%25207%252F8
>



 Are you using the the blog title in the URL to figure out which blog post
to display to the user?

Generally blog frameworks don't do that; it's easier to assign an unique ID
per post then record both the ID (to look up the post) and the blog title
(for SEO) in the URL. Also, it helps readability if you replace the spaces
with underscore characters.



-----------------
-Vinny P
Technology & Media Advisor
Chicago, IL

App Engine Code Samples: http://www.learntogoogleit.com

-- 
You received this message because you are subscribed to the Google Groups 
"Google App Engine" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/google-appengine.
For more options, visit https://groups.google.com/d/optout.

Reply via email to