devxzero

Results 10 comments of devxzero

It seems that I disabled websockets some months ago in Firefox, because some websites abuse websockets by performing portscans at localhost. https://nullsweep.com/why-is-this-website-port-scanning-me/ Btw, it would maybe also be interesting to...

Sometimes I do get websites that don't fully work, then I try Firefox private mode or a different Firefox profile, or switch temporarily to Chrome. But this doesn't happen often,...

It took me some time to figure out that Thumbnailator was not using the file that I specificied in `toFile(File)`, but was using a changed version of it under certain...

"_non-well-formed_" sounds like the use of elements that are either missing an opening tag or a closing tag, but not both. If you only read the title of this issue,...

You could do something like this: ``` val result: String = buildString { appendLine(createHTML().option {}) appendLine(createHTML().option {}) appendLine(createHTML().option {}) } println(result) ``` But these intermediate strings do limit performance and...

This solutions works, but it requires a pull request. Change `kotlinx.html.Tag.tagName` from type `String` to `String?`. Then fix all usage of that property, which usually means code like: ``` if...

I agree that returning null can be a source of typesafe problems. But throwing an exception when beginning clients don't expect it and no obvious immediate alternative is available and...

Null or Optional.... that can be a big discussion by itself. Optional is not just intended for the use in Java Collection API results. Its intent is: https://docs.oracle.com/en/java/javase/11/docs/api/java.base/java/util/Optional.html "_A container...

The security model is an implementation of http://jaspan.com/improved_persistent_login_cookie_best_practice , which is not suitable for a multi threaded environment. Since the web is almost always multi threaded, it is simply broken....

For those that want to avoid false cookieTheftExceptions, but still want to use the persistent remember me feature (but without cookie theft detection), the fix is pretty simply: In PersistentTokenBasedRememberMeServices...