Announcement

Collapse
No announcement yet.

CGI search corrupting URLs

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    CGI search corrupting URLs

    Links on pages found after a search have their URLs corrupted.

    The following page includes the a link "For a guide to measuring your UPVC Locks . - Click here" several paragraphs down:

    http://www.locksonline.co.uk/acatalo...Door_Bolt.html

    Clicking on this opens a popup window and is rendered as expected. This link is hardcoded.

    However, when you search for this page through the CGI bin, the link is corrupted:

    http://www.locksonline.co.uk/cgi-bin...ml%23a_2d#a_2d

    If you look at the javascript when displayed outside of the CGI bin it is shown as:

    <a href="javascript:ShowPopUp('http://www.locksonline.co.uk/resources/upvc_multipoint/upvc_measurement.php',630,570);">Click here</a>

    However, this is corrupted by the CGI search to:

    <a href="javascript:ShowPopUp('http://www.locksonline.co.uk/acatalog/http://www.locksonline.co.uk/resources/upvc_multipoint/upvc_measurement.php',630,570);">Click here</a>

    Anyone come across this before, and if so, what is the remedy for this?

    It must be something to do with the referring host, because if you click on these links, "community.actinic.com" is inserted!

    #2
    Hi,

    There doesn't seem to be a base href on your overall layout. Make sure you have <actinic:variable name="BaseHref" /> in the head tags of your overall layout(s) - you could check a default overall layout to see where it is normally placed. Then update your site and see if it works.

    Code:
    because if you click on these links, "community.actinic.com" is inserted!
    That's a known problem when clicking on links via the cgi-bin from the community.
    ********************
    Tracey
    SellerDeck

    Comment

    Working...
    X