Topic: PunBB 1.3 bug

You guys did a great job on PunBB by the way. And to show my appreciation, I will become the QA on 1.3 for you smile
And yes, I found a bug today!

I got the generic 500 error today, and after commenting/uncommenting stuff out, I found out that the issue comes from this line:

'^((.|\n)*)$' => '<p>$1</p>', // wrap whole message in p tags

inside parser.php (Line 99)

It's called as part of the NEW_PARSE_MESSAGE(). It doesn't seem to fail on all post messages. I am not sure if certain characters break the regex, but I can tell you one of the messages that fail has: +, /, -, ? and the [url]BB code (plus the alphabets of course).

Any idea what is wrong?

Thanks!

Re: PunBB 1.3 bug

Well, 1.3 is not even in alpha, so they're not taking bug reports yet wink

Re: PunBB 1.3 bug

Hehe, yeah, just for kicks. I am hyper-productive.

Okay, after several other investigation, seems like the error is related to the length of the message rather than content. It seems to break at around 1940 characters...weird...

Re: PunBB 1.3 bug

Yeah, the parser is currently being rewritten and we know about it failing with large posts wink
I'm going to close this, since as Bekko said we're not taking bug reports