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...
...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...