I tried to set Destination URL for an image ad to this value:

http://ifm.advocateoffice.com/index.asp?Type=B_BASIC&SEC={0924C415-567B-4F97-A3E0-531BDE314DF3}

But it didn't pass validation. It looks like Drupal's valid_url() function doesn't allow certain characters involved. Commenting out the check for valid_url() results in the expected behavior, but this is obviously not an ideal solution.

Comments

jeremy’s picture

Category: bug » support
Status: Active » Fixed

Go to Administer -> Content -> Ads -> Settings and disable "Validate URLs".

If you consider this a bug, it should be filed against Drupal core, as the ad module is using the core function valid_url() to validate urls.

Anonymous’s picture

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for two weeks with no activity.