Hi, I've found, that q2a request routing engine uses lowercased URL in internal matching procedure. It makes different URL to serve the same content, like
http://www.question2answer.org/qa/questions and question2answer.org/qa/qUestiOns all shows exactly the same data.
That feature may hurt site's SEO greatly, if one will create an anchor with second URL and that URL will be indexed by Google. Question pages looks unaffected because they have correct rel=canonical attribute, but there are a lot of other pages that are affected.
rel=canonical, however, is not the best possible solution, 301-redirect on access to incorrect-cased URL is a way better.
BTW, please, refactor function qa_redirect_raw($url) to use redirect code. Something like this would be nice and absolutely backwards-compatible:
function qa_redirect_raw($url, $code=302)
{
if (qa_to_override(__FUNCTION__)) { $args=func_get_args(); return qa_call_override(__FUNCTION__, $args); }
header('Location: '.$url, true, $code);
qa_exit('redirect');
}