Great idea. I was thinking out adding another option such as --allow-origin-all but that’s simpler.
I saw that stackoverflow thread, and a bunch of other discussions about the bug. Can confirm using no quotes is not a solution. It just displays help:
D:\Portable\LanguageTool-5.5>java -cp languagetool-server.jar org.languagetool.server.HTTPServer --allow-origin *
Usage: HTTPServer [–config propertyFile] [–port|-p port] [–public]
–config FILE a Java property file (one key=value entry per line) with values for:
…
Here’s a link to another stackoverflow question where it’s discussed in more details and a bug report
Apparently even though the problem is in java it’s Microsoft fault. What isn’t.