Blog Captcha Img Link

edited March 2011 in Bug Reports
Hi

The link returned by the captcha library to the image of the captcha appears to be incorrect. It is currently returning http://www.mysite.com/fuel/modules/captchas/assets/captchas/(img_name).jpg when it should be http://www.mysite.com/fuel/modules/blog/assets/captchas/(img_name).jpg

The files are being written to the correct place but the returned link is not correct.

I'd appreciate any suggestions on a fix, I've tried a few in the blog controller but the problem appears to be in the captcha library.

Comments

  • edited 5:17AM
    That's a bug in the asset_helper. I just pushed an update for it. Specifically, in fuel/application/helpers/asset_helper.php on line 167 needed to be changed to
    return $CI->asset->captcha_path($file, $module, $absolute);
  • edited 5:17AM
    Cheers
Sign In or Register to comment.