Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Web URLs change depending on browser

New Here ,
Aug 30, 2016 Aug 30, 2016

Hello,

I'm using Captivate 9 on Windows 7 64 bit. 

I have a problem in regards to linking to an outside PDF.  When the user clicks the button, the URL I've entered in the captivate file changes- it adds on a few numbers into the web address, making the web address invalid.  It does this in Chrome and Firefox, but the URLs work in IE.  The funny thing is, these URLs worked fine last week, and I haven't touched them!  We mostly use Chrome, so we need it to work there.  This happens when both I publish the file to a web server and locally. 

Any help would be appreciated!

Thanks!


Drew

1.4K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

People's Champ , Sep 01, 2016 Sep 01, 2016

I'm fairly certain it because of the %20 he is using in the URL, it would more than likely work if he removed them and just used spaces when putting the URL in Captivate. The URL encoding is encoding the % as %25 making it %2520. If the URL just contained a space it would encode to %20 and the link would work.

https://share.hq.corp.viasat.com/partners/mobility/airlines/virgin america/Shared Documents/ENGINEERING/D44-145XX/D4…

Translate
People's Champ ,
Aug 30, 2016 Aug 30, 2016

I'd remove any spaces or anything from the pdf name

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 30, 2016 Aug 30, 2016

Thanks for the reply,  The URL normally has "%20" twice in there, and in Chrome it looks like "%2520" so I tried removing that, but it didn't work. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Aug 30, 2016 Aug 30, 2016

What is the name of the pdf?

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Aug 30, 2016 Aug 30, 2016
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Aug 30, 2016 Aug 30, 2016

It's never a good idea to have spaces in a URL.

When you out that URL into Captivate and it creates it's output it escapes the non-standard characters.

You need to try a path that doesn't have spaces, maybe you could try a relative link?

The way you get %2520 is when your url already has a %20 in it, and gets urlencoded again, which transforms the %20 to %2520

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Advisor ,
Sep 01, 2016 Sep 01, 2016

This looks like an internal file share, is it actually a webserver? Maybe a sharepoint site?

Can you check with the admin of the server and verify that the "Shared Documents" folder is being served and that this is a valid url?

There may be an alias to on of these directories that is being served without the spaces, I.E. "ENGINEERING" could show up in a path like:

https://engineering.virgin_america.com/ENGINEERING/D44-145XX/D44-1459/D1459A.PDF

You may be able to determine this yourself if you search your intranet for: 'D44-145XX,' or  'D44-1459, and find a working url you can just modify it to point to your file. 

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
People's Champ ,
Sep 01, 2016 Sep 01, 2016

I'm fairly certain it because of the %20 he is using in the URL, it would more than likely work if he removed them and just used spaces when putting the URL in Captivate. The URL encoding is encoding the % as %25 making it %2520. If the URL just contained a space it would encode to %20 and the link would work.

https://share.hq.corp.viasat.com/partners/mobility/airlines/virgin america/Shared Documents/ENGINEER...

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
New Here ,
Sep 06, 2016 Sep 06, 2016
LATEST

That did the trick!  Thanks for the reply!

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Help resources