Jump to content



Latest News: (loading..)

- - - - -

Problems with links


  • Please log in to reply
9 replies to this topic

#1   VilBaz

VilBaz
  • Members
  • 36 posts
  • Real Name:Claus Larsen
  • Gender:Male
  • Location:Sweden

Posted 23 March 2011 - 10:55 AM

Hi.
I've got a problem with my links. When I try to link to a manufactures product page, it links back to my site?
Try this: My link and then click on "For more information, please visit this products webpage." Then you see what I mean.
Please help

#2   dfirefire

dfirefire

    For hire

  • Community Sponsor
  • 127 posts
  • Real Name:Dirk Coenye
  • Gender:Male
  • Location:Leopoldsburg, Belgium

Posted 24 March 2011 - 04:47 PM

There is an error in the link.

This is what it points to:
http://vilbaz.com/catalog/redirect.php?action=url&goto=www.tamiyausa.com%2Fproduct%2Fitem.php%3Fproduct-id%3D58436&osCsid=es8gf81ut0cgt86caappjnrbp3

The URL attributes are translated to "safe" entities like %2F instead of /. There is also the attribute product-id that should be products_id.
dfirefire
Web Application Developer

Did you like my post? Click the "Like this"-button.
Want to contact me? Check out my profile!

#3   VilBaz

VilBaz
  • Members
  • 36 posts
  • Real Name:Claus Larsen
  • Gender:Male
  • Location:Sweden

Posted 24 March 2011 - 05:49 PM

This have worked before. I just copy/paste the link from the original website. Some of them I did a long time ago, but they ain't working either.

#4   dfirefire

dfirefire

    For hire

  • Community Sponsor
  • 127 posts
  • Real Name:Dirk Coenye
  • Gender:Male
  • Location:Leopoldsburg, Belgium

Posted 24 March 2011 - 07:20 PM

View PostVilBaz, on 24 March 2011 - 05:49 PM, said:

This have worked before. I just copy/paste the link from the original website. Some of them I did a long time ago, but they ain't working either.

Did you upgrade or have you installed some additional safety measures?
How do you include the link? The link points to the osCommerce redirect.php page, if you copied the link from the original site, it should point to that site directly...
dfirefire
Web Application Developer

Did you like my post? Click the "Like this"-button.
Want to contact me? Check out my profile!

#5   VilBaz

VilBaz
  • Members
  • 36 posts
  • Real Name:Claus Larsen
  • Gender:Male
  • Location:Sweden

Posted 24 March 2011 - 07:31 PM

I've installed Sitemonitor and FWR Security Pro.
I include links when I add a new product, in the "box" just above Wieght.
I've got a page with links to different forums etc. and work fine and the link in "Manufacturer Info" also works

#6   dfirefire

dfirefire

    For hire

  • Community Sponsor
  • 127 posts
  • Real Name:Dirk Coenye
  • Gender:Male
  • Location:Leopoldsburg, Belgium

Posted 24 March 2011 - 07:42 PM

FWR Security Pro probably is the culprit here. It prevents links to be passed around in text to avoid injection of malicious code. Unfortunately, you need to have these links in the text (do you really? This leads customers away from your site too!).
But FWR has the ability to exclude files from cleaning. So you could try to put product_info.php in the list of file exclusions, as well as admin/categories.php (not sure if you need to mention the admin prefix)...
dfirefire
Web Application Developer

Did you like my post? Click the "Like this"-button.
Want to contact me? Check out my profile!

#7   VilBaz

VilBaz
  • Members
  • 36 posts
  • Real Name:Claus Larsen
  • Gender:Male
  • Location:Sweden

Posted 24 March 2011 - 07:53 PM

It's the same result, both with or without the admin prefix

#8   dfirefire

dfirefire

    For hire

  • Community Sponsor
  • 127 posts
  • Real Name:Dirk Coenye
  • Gender:Male
  • Location:Leopoldsburg, Belgium

Posted 24 March 2011 - 07:56 PM

Have you tried to add a new product with a link in the text? The information that resides in the database for existing products has already been "cleaned" and won't change. But new product's text's shouldn't be cleaned when the file categories.php is excluded from cleaning...
dfirefire
Web Application Developer

Did you like my post? Click the "Like this"-button.
Want to contact me? Check out my profile!

#9   VilBaz

VilBaz
  • Members
  • 36 posts
  • Real Name:Claus Larsen
  • Gender:Male
  • Location:Sweden

Posted 25 March 2011 - 08:12 AM

Got it  :lol::)  I've just have to exclude redirect.php in FWR, then everything is back to normal  :thumbsup:

#10   milenaire

milenaire
  • Members
  • 3 posts
  • Real Name:Milena Avramova

Posted 15 August 2012 - 11:29 AM

View PostVilBaz, on 25 March 2011 - 08:12 AM, said:

Got it  ...  I've just have to exclude redirect.php in FWR, then everything is back to normal  :thumbsup:

The same problem on our site - the solution above works fine.
But I'm a little bit worried - is it a real threat to site security to exclude redirect.php from stripping of special characters?