For some reasons I use non-standard css placement:
$codestriker_css = '/html/codestriker.css';
The problem is than help links are constructed from css links (lib/Codestriker/Http/UrlBuilder.pm, line 40):
$htmlurl = $Codestriker::codestriker_css;
$htmlurl =~ s/\/.+?\.css//;
I see no problem in this regexp but it works as greedy one and produces '/' help path, like here: <a href="/x639.html">Help</a>
After I've replaced last regexp to
$htmlurl =~ s/\/[^\/]+\.css//;
help links are works as needed.
Codestriker 1.9.5, 1.9.7rc1, CentOS5, perl 5.8.8
Log in to post a comment.