...can install wkhtmltopdf on your appserver if you need to generate PDF files from HTML. However, please note that wkhtmltopdf is no longer actively maintained, which comes with certain limitations...
...files, it can be a security issue. Example: A user uploads a file with HTML/JavaScript content using no file extension. In the Apache default configuration if you access the file...
...it will have no Content-Type. Some browsers will guess/autodetect it as HTML and now you are vulnerable to XSS. To prevent this, you can set a default Content-Type...
When a nginx reverse proxy complains about upstreams sending too big headers, tweaking the buffers responsibly can help to prevent...
If you want someone to be able to access your rails console, but don't want them to be able...
Best results in other decks
I18n keys ending with _html are automatically marked as HTML-safe when translating with t('.your_key_html'). When you're localizing a Rails application, some localized texts...
...Please visit our %{link} to learn more about the corporation .' You can then pass an HTML-safe string and it ends up as expected in your HTML: <%= t('.text_html...
...rendering of your page will not be affected. Tip If you care about their HTML being valid, your new element should contain a dash character (-) to mark it as a...
...custom element. Custom elements will be ignored during HTML validation, but their children will still be validated. Styling new elements Browsers will give unknown elements a default style of display...