1 (edited by orlandu63 2007-02-22 06:00)

Topic: Send appropiate header information on some instances and...

i.e header('HTTP/1.1 400 Bad Request') for non-existant topics and header('HTTP/1.1 403 Forbidden') for unauthorized actions.

I suggest you read this: http://karma.nucleuscms.org/item/27

Oh and I don't know if 1.3 fixes this, but BBCode similar to [ b ][ i ]foo[ /b ]bar[ /i ] creates invalid markup.

Re: Send appropiate header information on some instances and...

orlandu63 wrote:

Oh and I don't know if 1.3 fixes this, but BBCode similar to [ b ][ i ]foo[ /b ]bar[ /i ] creates invalid markup.

AFAIK that is invalid bb code. Some bb code parsers won't even accept it. Sides, to make the above bb code valid in any case with the least amount of effort you would have to close and reopen all html tags every time a new bb code is found... something like this: "[ b ] [ / b ] [ i ] [ b ] foo [ / b ] [ / i ]". Course the more complexe the invalid bb code, the more complex the resultant outputed html code.

echo "deadram"; echo; fortune;

Re: Send appropiate header information on some instances and...

Maybe the BBCode part will be included when the parser is reworked?

http://dev.punbb.org/ticket/39

Re: Send appropiate header information on some instances and...

Shawn is working on getting the validation errors fixed in the new parser.

"Programming is like sex: one mistake and you have to support it for the rest of your life."