New feature: Embedded PDFs

Due to a certain observed need :persecutioncomplex: and some spare time, I implemented the feature of embedding PDFs in your forum post.

There are certain undisclosed rules to mitigate the possibility of random people embedding malicious PDFs. The default PDF reader of the browser is used. In the case that there is no default PDF reader associated with the browser, which is often the case on phones and tablets, a download of the file is initiated. I’ll work no this later, to prevent such ‘unexpected’ downloads on potentially bandwidth limited devices.

The PDF is (crudely) validated, cached and served from the JGO server, to ensure the content is not replaced with malicious bits and bytes after the one time validation has occured.

[quote=""]
The UBB syntax for embedding a PDF file is as follows:
[icode][pdf ]http://java-gaming.org/pdf-sample.pdf[/pdf][/icode]

The content box is 95% of the available width in the post and 950px long.
[pdf]http://java-gaming.org/pdf-sample.pdf[/pdf]

In other news: support for embedded applets has been terminated.