When a nginx reverse proxy complains about upstreams sending too big headers, tweaking the buffers responsibly can help to prevent...
...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...
If you want someone to be able to access your rails console, but don't want them to be able...
...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...
Best results in other decks
...wrap at a soft hyphen, it is turned into a regular hyphen character (‐). The HTML entity for a soft hyphen is ­. Use it to mark division opportunities in a...
...hyphenized. E.g. brand names like makandra should not be hyphenated. Option 3: wbr-tags HTML has a tag you can use to mark word wrap opportunities: Do nau dampf schiff...
...below is validated for the current list of browsers we support. By default your html and body elements are only as high as the actual page content inside their container...
...If you only have two lines of text in your page, your html and body elements will only be around 40 pixels high, regardless of the size of your browser...