When I copy and paste my quicklink into the 'Project Honey Pot QuickLink' field, I get the error 'You must enter a valid Project Honey Pot QuickLink URL, or leave the field blank.' when I attempt to save. What type of validation is attempted against the quicklink URL? I'd prefer not to post it here as that defeats the purpose of the quicklink URL, however it seems the validation code is not working correctly. (I am including the http:// at the beginning.)

Comments

gregarios’s picture

Assigned: Unassigned » gregarios

Please post the link in this thread if you would, so I can modify the validation to fix this. The quicklink is not a private thing anyway, right? :-) (post it in this discussion leaving out the "http:" so it doesn't form an actual link in the thread) Change a few characters if you like — I just need the format so I can adjust the validation string.

Alternately, you can message it to me at: http://drupal.org/user/426296/contact

gregarios’s picture

Status: Active » Fixed

I believe I've come up with a better code than using a custom Regex anyway — now using Drupal's built-in valid_url() for simplicity. This allows for custom Project Honey Pot Quicklinks as well.

6.x-2.x-dev release updated as of today. This will be in the full 6.x-2.114 release as well when the next version of BB scripts comes out.

Status: Fixed » Closed (fixed)

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

gilf’s picture

Same issue, link is http://www.jensoft.co.uk/honey_pot/aft.php?t=8, which works in a similar WordPress module

gilf’s picture

Status: Closed (fixed) » Active
gregarios’s picture

Version: 6.x-2.113 » 6.x-2.x-dev
Status: Active » Fixed

The -dev release has this fixed.

gregarios’s picture

Status: Fixed » Closed (fixed)