Closed (fixed)
Project:
Spam
Version:
5.x-3.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
28 Mar 2008 at 17:45 UTC
Updated:
1 Oct 2008 at 15:12 UTC
Including $base_url in the generated url in the emails doesn't work since Drupal's url() function will add in the subdirectory drupal is installed in, so you get the subdirectory twice, like so:
http://www.mozdev.org/drupal/drupal/comment/edit/40
$base_url ---^^--- url()
Where it should be:
http://www.mozdev.org/drupal/comment/edit/40
| Comment | File | Size | Author |
|---|---|---|---|
| spam-5.x-1.1-2-url.patch | 3.84 KB | dwarner |
Comments
Comment #1
dwarner commentedNon-monospace text screwed up my explanation of what was $base_url and what was url();
For this URL: http://www.mozdev.org/drupal/drupal/comment/edit/40
$base_url = http://www.mozdev.org/drupal
url('comment/edit/40') = /drupal/comment/edit/40
Comment #2
jeremy commentedI'll review this fix for the 3.x development branch.
Comment #3
jeremy commentedBug not applicable to 3.x version of the spam module, closing.
Comment #4
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.