Closed (fixed)
Project:
DruTeX
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
3 Dec 2008 at 13:18 UTC
Updated:
2 Jul 2011 at 19:37 UTC
Jump to comment: Most recent file
When a user clicks the "Generate PDF/Latex" links he/she will see a 404 if the site uses language prefixes in the URL (http://foo.bar//node/100) because Drutex uses the drupal_goto() call which only should be used for drupal-pages.
I made a quick hack just to make it work on out site.
| Comment | File | Size | Author |
|---|---|---|---|
| #1 | 342093-drutex-base_url.diff | 907 bytes | MGN |
| redir.patch | 470 bytes | jseffel |
Comments
Comment #1
MGN commentedI think drupal_goto() is still the preferred function call - if you look at the function, it ends up calling header(), but should be safer and allows other modules to react to the redirect. None of the modules in the core (and none of the 30+ contrib that I use) call header directly. I think the real issue is in the use of $base_url. The following patch works for me, can you see if it solves the problem for you?
Comment #2
steven jones commentedCommitted to 6.x-1.x
Comment #3
steven jones commentedComment #4
abbasmousavi commented