Handle extra opening/closing brackets in REDIRECTs. Code is a bit naive. It can be improved.

git-svn-id: svn://svn.code.sf.net/p/autowikibrowser/code@9333 5227b50d-9349-4574-b055-4b0a7525e11c