Snitz Forums 2000
Snitz Forums 2000
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 Help Groups for Snitz Forums 2000 Users
 Help: General / Classic ASP versions(v3.4.XX)
 url links appear to strip characters
 New Topic  Topic Locked
 Printer Friendly
Author Previous Topic Topic Next Topic  

RogerE
Starting Member

33 Posts

Posted - 22 February 2009 :  06:21:50  Show Profile
If you use url links that include a plus sign (e.g. http://www.anyoldsite.com/leaflets/leaflet+1+2009.pdf) as a stand alone link then the link works ok.

However if you use it as part of a url link e.g. {url="http://www.anyoldsite.com/leaflets/leaflet+1+2009.pdf"}download latest leaflet{/url} - I used braces instead of square brackets to allow it to display - then the hyperlink replaces the plus signs with spaces, resulting in a 404 error (for result see below and examine link output)

download latest leaflet

Is this a known "feature"?

Thanks

Roger<

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 22 February 2009 :  07:00:38  Show Profile
To allow the plus symbol in links, in "inc_func_common.asp", look for the following line (appx 948):
				strArray2(0) = replace(strArray2(0), "+", " ", 1, -1, 1) ' ## filter out +

Change it to say:

				strArray2(0) = replace(strArray2(0), "+", "#043;", 1, -1, 1) ' ## filter out +
<
Go to Top of Page

RogerE
Starting Member

33 Posts

Posted - 23 February 2009 :  08:03:31  Show Profile
Thanks for that - I really should start to learn ASP!

Roger<
Go to Top of Page

Carefree
Advanced Member

Philippines
4207 Posts

Posted - 23 February 2009 :  08:06:46  Show Profile
Any time.<
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Topic Locked
 Printer Friendly
Jump To:
Snitz Forums 2000 © 2000-2021 Snitz™ Communications Go To Top Of Page
This page was generated in 0.33 seconds. Powered By: Snitz Forums 2000 Version 3.4.07