Frontpage Problem With Special URL Characters

R

Rui Ferreira

T

Tom [Pepper] Willett

All characters except
A-Z
a-z
0-9
-
_
~
,
..
$
(
)
#
space

Are illegal, and will cause problems.
--
===
Tom [Pepper] Willett
Microsoft MVP - FrontPage
---
FrontPage Support:
http://www.frontpagemvps.com/

About FrontPage 2003:
http://office.microsoft.com/home/office.aspx?assetid=FX01085802
===
| Hi,
|
| I'm having a problem with Frontpage when i need to specify a URL like:
|
|
http://rep.bancobpi.pt/bpicampanhas/redirect.asp?REF={E0EC11AD-221D-49E7-A082-97554BFC5C1E}&OP=50&URLR=http://www.bancobpi.pt/pagina.asp?s=1&a=4&f=307&26opt=f
|
| The problem is that FrontPage e replacing '%26' for '&' and in this case,
| the URL becomes invalid because it has parameters of parameters.
|
| Is there a way to disable this feature?
| How can i handle this situation?
|
| Thanks.
|
| Rui Ferreira.
 
J

Jim Buyens

Well, I tried constructing a simple link using the URL you cited, and I
couldn’t get FrontPage to corrupt it.

One thing I *did* notice, however, is that &26opt=f, near the end of your
URL, should be %26opt=f.

If that doesn’t resolve the problem, please post again and detail the exact
steps that lead to the failure.

Jim Buyens
Microsoft MVP
http://www.interlacken.com
Author of:
o--> Microsoft Visual Web Developer 2005 Express Edition: Build a Web Site
Now!
o--> Microsoft Office FrontPage 2003 Inside Out
o--> Microsoft Windows SharePoint Services Inside Out
o--> Faster Smarter Beginning Programming
 
R

Rui Ferreira

R

Ratatooie

{ and } are not legal characters for URLs.

Are they represented by their % equivalent in the code?
 
J

Jim Buyens

It looks as though your options are to either:

o In the Insert Hyperlink dialog box, type %25 where you want the percent
signs. For example, pagina.asp?s=1%2526a=4@2526f=307%2526opt=f

o Insert the href= string in Code view.

Jim Buyens
Microsoft MVP
http://www.interlacken.com
Author of:
o--> Microsoft Visual Web Developer 2005 Express Edition: Build a Web Site
Now!
o--> Microsoft Office FrontPage 2003 Inside Out
o--> Microsoft Windows SharePoint Services Inside Out
o--> Faster Smarter Beginning Programming
 
R

Rui Ferreira

Ok, i know that options.
But, first option works only on insert operation. When i need to edit, i
must specify the original URL because it transforms the escaped characters.

Second option is not really an option because people who are using FrontPage
are not from Technical Team.

Isn't there a way to disable this automatic conversion?

Thanks,

Rui Ferreira.
 
T

Thomas A. Rowe

No, however you should be able to use the Insert HTML component so that FP doesn't modify the code.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
R

Rui Ferreira

There isn't a "friendly way" to do that, without editing the code?

Thanks,

Rui Ferreira.
 
T

Thomas A. Rowe

No.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
==============================================
If you feel your current issue is a results of installing
a Service Pack or security update, please contact
Microsoft Product Support Services:
http://support.microsoft.com
If the problem can be shown to have been caused by a
security update, then there is usually no charge for the call.
==============================================
 
J

Jim Buyens

No, you can't disable the automatic conversion.

However, if you're worried about non-technical users editing the page in
FrontPage, I wouldn't count on them correctly entering URLs like

http://rep.bancobpi.pt/bpicampanhas/redirect.asp?REF={E0EC11AD-221D-49E7-A082-97554BFC5C1E}&OP=50&URLR=http://www.bancobpi.pt/pagina.asp?s=1&a=4&f=307&26opt=f

even if you could disable the URL decoding. Instead, you should probably
script an easier and better solution of some kind.

Jim Buyens
Microsoft MVP
http://www.interlacken.com
Author of:
o--> Microsoft Visual Web Developer 2005 Express Edition: Build a Web Site
Now!
o--> Microsoft Office FrontPage 2003 Inside Out
o--> Microsoft Windows SharePoint Services Inside Out
o--> Faster Smarter Beginning Programming
 
R

Rui Ferreira

I know that non-technical people aren't able to write that kind of URLs.
So, i've created i friendly backoffice to generate the URLs.
The problem is that the URLs are included on HTML Pages edited by that
persons and special characters are not well supported.

I think i'll try HTML Control.

Thanks.

Rui Ferreira.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top