Wrox Programmer Forums
Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP.NET 2.0 > ASP.NET 2.0 Basics
|
ASP.NET 2.0 Basics If you are new to ASP or ASP.NET programming with version 2.0, this is the forum to begin asking questions. Please also see the Visual Web Developer 2005 forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the ASP.NET 2.0 Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 15th, 2008, 12:43 PM
Authorized User
 
Join Date: Feb 2007
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Default stop master page from url encoding

I've never used master pages at all. Im giving them a try and notice that when a master page calls content like :master-page, it url encodes the output to master%2dpage.aspx...
is there any way to stop this?

 
Old May 16th, 2008, 12:28 AM
Authorized User
 
Join Date: Sep 2007
Posts: 92
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Why would you want to stop it from encoding? URLs must be encoded or otherwise servers can't parse HTTP requests. Luckily most (all?) browsers do this automatically but I'd still do it on the server side myself.
 
Old May 16th, 2008, 12:37 PM
Authorized User
 
Join Date: Feb 2007
Posts: 42
Thanks: 0
Thanked 0 Times in 0 Posts
Default

because notably in firefox...the url is rewritten to a non search engine friendly encoded url






Similar Threads
Thread Thread Starter Forum Replies Last Post
How do i encoding a url address kevo PHP How-To 3 July 17th, 2007 03:29 AM
problem in getting rid of '+' sign in url encoding vopatel Javascript How-To 0 May 21st, 2005 11:36 AM
URL encoding (why + and not %20?) dermotb XSLT 0 May 22nd, 2004 06:48 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.