Citation links to my external website are corrupted by ?????
GenoPro Home  |  Get Started With My Genealogy Tree  |  Buy  |  Login  |  Privacy  |  Search  |  Site Map
 
GenoPro Support Forum
Home        Members    Who's On
Welcome Guest ( Login | Register )
        



Citation links to my external website are corrupted by ????? Expand / Collapse
Author
Message
Post #22465 Posted 8/29/2008 9:08:42 PM


Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: 10/5/2008 9:16:04 PM
GenoPro Version: 2.0.1.6
Posts: 5, Visits: 13
I tried to put a link to a pdf document that resides on my website.

here it the intended link:

http://scherlfamily.net/scherlfamilytree/documents/parabuty records/BR 1878-04-09 Scherl, Florianus.pdf 

This is what is displayed when I select the Citation

When I click the link I get I get a "File Not Found" error. The link that is generated is as follows:

http://scherlfamily.net/scherlfamilytree/documents/parabuty+records/BR+1878-04-09+Scherl,+Florianus.pdf

The "+"'s screw up the URL.....what do I do to make this work without having to rename hundreds of files and directories in my website?????

I tried enclosing the url in quotes but I got this:

http://familytrees.genopro.com/chuckscherl/chuckscherl/%22http://scherlfamily.net/scherlfamilytree/documents/parabuty+records/BR+1878-04-09+Scherl,+Florianus.pdf%22

Which didn't work either.

Note that I plugged the correct url string in to the first link I mentioned and it works just the way I want.

Is there anyway I can get this to work without having to rename my files and directories?????

None of us is as dumb as all of us.

Post #22466 Posted 8/29/2008 9:11:54 PM


IT Director GenoPro

IT Director GenoProIT Director GenoProIT Director GenoProIT Director GenoProIT Director GenoProIT Director GenoProIT Director GenoProIT Director GenoPro  

Group: Customers
Last Login: Yesterday @ 9:01:50 AM
GenoPro Version: 2.0.1.6
Posts: 455, Visits: 5,952
I think that an URL cannot contain a space character.  Ideally GenoPro should detect if there is a space in the URL and replace it with the plus (+) character.


If the facts don't fit the theory, change the facts.
-- Albert Einstein

Jean-Claude Morin
Information Technology Director, GenoPro.
http://www.genopro.com

Post #22467 Posted 8/29/2008 10:26:50 PM


Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: 10/5/2008 9:16:04 PM
GenoPro Version: 2.0.1.6
Posts: 5, Visits: 13
That's interesting because I have a website just loaded with file names with imbedded Spaces and they work just fine with IE, FireFox and Safari, so I am sure that the urls with spaces are ok.

None of us is as dumb as all of us.
Post #22468 Posted 8/29/2008 10:33:26 PM


Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: 10/5/2008 9:16:04 PM
GenoPro Version: 2.0.1.6
Posts: 5, Visits: 13
The Browser automatically inserts %20 in palce of the Space .... so it does accept it.

None of us is as dumb as all of us.
Post #22481 Posted 8/31/2008 2:52:45 PM


Grand Master

Grand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand MasterGrand Master This user is a contributor to FamilyTrees.GenoPro.com This user is an important contributor to the GenoPro community 

Group: Customers
Last Login: Today @ 10:20:31 AM
GenoPro Version: 2.0.1.6
Posts: 1,145, Visits: 5,355
JcMorin (8/29/2008)
I think that an URL cannot contain a space character.  Ideally GenoPro should detect if there is a space in the URL and replace it with the plus (+) character.

The script uses the Report Generator Util.FormatHtmlHyperlink method. I suspect it uses Util.HtmlEncode internally.

There seems to be a GenoPro bug. This method does appear to convert spaces to + but it should not. They should be converted to %20 instead. There is some suggestion elsewhere that spaces in any query string in the URL should be converted to + but not in any other component of the URL.


'lego audio video erro ergo disco' or "I read, I listen, I watch, I make mistakes, therefore I learn"
Post #22490 Posted 9/1/2008 5:16:56 PM


Legendary Master

Legendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary MasterLegendary Master This user is an important contributor to the translation of GenoPro 

Group: Administrators
Last Login: Today @ 9:31:29 AM
GenoPro Version: 2.0.1.6
Posts: 3,517, Visits: 14,852
I fixed the encoding to replace the space by %20 instead of the plus sign (+) if found before the query string (?). This is the new encoding:

http://www.genopro.com/contact us/   =>     http://www.genopro.com/contact%20us/

http://www.genopro.com?contact us     =>    http://www.genopro.com?contact+us

The fix is available at www.genopro.com/download/InstallGenoPro.2.0.1.6.exe.  Can someone confirm it is working now.  I did testing on my machine and it was working before the fix, so I cannot really tell if the fix really changed anything. 

Post #22534 Posted 9/5/2008 3:18:09 PM


Forum Newbie

Forum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum NewbieForum Newbie This user is a contributor to FamilyTrees.GenoPro.com 

Group: Customers
Last Login: 10/5/2008 9:16:04 PM
GenoPro Version: 2.0.1.6
Posts: 5, Visits: 13
It works like a champ. I am SO glad that do not have to chang over 1,000 file names on my website to make this stuff work.

Many
Thanks

ChuckS


None of us is as dumb as all of us.
« Prev Topic | Next Topic »


Reading This Topic Expand / Collapse
Active Users: 0 (0 guests, 0 members, 0 anonymous members)
No members currently viewing this topic.
Forum Moderators: GenoProSupport, JcMorin, Ron

Permissions Expand / Collapse

All times are GMT -5:00, Time now is 2:24 PM

Copyright 1998-2008 GenoPro. All rights reserved. GenoPro and the GenoPro logo are trademarks.