[Bb-trac] [bbPress] #589: Improvement to #575
bbPress
bb-trac at lists.bbpress.org
Thu Feb 15 18:23:57 GMT 2007
#589: Improvement to #575
-------------------------+--------------------------------------------------
Reporter: ascarid68 | Owner:
Type: enhancement | Status: new
Priority: low | Milestone: 1.0
Component: Front-end | Version: 0.80
Severity: minor | Keywords:
-------------------------+--------------------------------------------------
The approach of bb_convert_path_base() is flawed and #575 puts a band-aid
on the flaw. When translating a path from one base to another you should
remove $from_base from $path and then concat $to_base and $path, instead
of comparing $from_base and $to_base because it doesn't matter if part of
their path is the same. Assuming the paths always use the same notations,
the attached patch works to fixes #575 (again) and the approach problem.
--
Ticket URL: <http://trac.bbpress.org/ticket/589>
bbPress <http://bbpress.org/>
Innovative forum development
More information about the Bb-trac
mailing list