Mantis - Quercus
|
|||||
Viewing Issue Advanced Details | |||||
|
|||||
ID: | Category: | Severity: | Reproducibility: | Date Submitted: | Last Update: |
3175 | minor | always | 12-13-08 13:17 | 01-04-09 14:41 | |
|
|||||
Reporter: | koreth | Platform: | |||
Assigned To: | OS: | ||||
Priority: | urgent | OS Version: | |||
Status: | new | Product Version: | 4.0.0 | ||
Product Build: | Resolution: | open | |||
Projection: | none | ||||
ETA: | none | Fixed in Version: | |||
|
|||||
Summary: | 0003175: Backtraces contain odd paths when using URL rewriting | ||||
Description: |
In my resin-web.xml: <rewrite-dispatch> <forward regexp="^(.*)$" target="/html/$1" /> </rewrite-dispatch> Then I have <webapp_root>/html/test/backtrace.php (note this is in a subdirectory): <?php include_once "<webapp_root>/lib/foo2.php"; function foo1() { print_r(debug_backtrace()); } call_foo1(); And <webapp_root>/lib/foo2.php: <?php function call_foo1() { foo1(); } Quercus prints a backtrace that has a path of <webapp_root>/html/test/lib/foo2.php rather than <webapp_root>/lib/foo2.php for the function call_foo2(). This only happens if the requested page is in a subdirectory of <webapp_root>/html; the paths look fine for files that are directly in the html directory. |
||||
Steps To Reproduce: | |||||
Additional Information: | |||||
Relationships | |||||
Attached Files: |
There are no notes attached to this issue. |