DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Possible bug: F&R using BaseURL instead of URL when launching web shortcuts  (Read 10,450 times)

jballi

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 22
Just installed 1.07.07 although this may have been an issue before this version.  I searched through the forum and couldn't find a thread on this issue.

I have a URL shortcut in my Favorites to the Portable Freeware Collection web site (several DonationCoder programs listed on this site).  The URL is:

  http://www.portablefreeware.com/

When I launch the shortcut manually, everything is honky-dory.  Do people still say "honky-dory?"  However, when I launch the shortcut using F&R, it takes me to the following location:

  http://www.portablefreeware.com/downloads.php

This confused me to no end until I edited the shortcut with a text editor.  This is what the shortcut contained (minor editing):

[DEFAULT]
BASEURL=http://www.portablefreeware.com/downloads.php
[InternetShortcut]
URL=http://www.portablefreeware.com/
-- Snip --

I went through a few dozen of my web shortcuts and found several where the BaseURL did not match the URL.

I have no idea what the BaseURL is used for but shouldn't F&R use the URL instead of BaseURL to launch to a web site?

Thanks in advance for your assistance.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
good find, i will correct in next version, i had no idea such a thing was even possible in an internet shortcut file.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
john, can you try the latest version and see if it's fixed:
http://www.donationcoder.com/Software/Mouser/findrun/downloads/FindAndRunRobot.exe

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
interesting page on the format of url shortcut files:
http://www.cyanwerks.com/file-format-url.html

regarding baseurl: "The purpose of these extra fields is probably for the browser to figure out what HTML documents were loaded in each frame, since the main URL tends to not record the state of its framesets."

jballi

  • Charter Member
  • Joined in 2005
  • ***
  • Posts: 22
Interesting link.  I think I now know more than I should.

I tried the new version on a few good and bad (I edited them) URL shortcuts.  They all went to the correct address.

Thanks for your help.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
my pleasure,  thanks for the bug report :)

Original address: https://www.donationcoder.com/forum/index.php?topic=873.0