* Validate Host header of incoming HTTP requests
* Always allow requests with loopback IP addresses and localhost
* Split off ValidateHostHandler to a separate file
* Allow IPv4-mapped loopback addresses in ValidateHostHandler
* Add error description to 404 error returned by ValidateHostHandler
* Add refine.interface parameter to override interface and host separately
* Fix some whitespace inconsistencies
* Update refine and refine.bat with separate host and interface arguments
* Add -h switch to usage message
* Use -H instead of -h for the host argument
* Bring changes in line with new Jetty version
Co-authored-by: Antonin Delpeuch <antonin@delpeuch.eu>
* Add Google API key - fixes#3604
Enables access to public data in Google Sheets/Drive. API key must be
sent if OAuth token isn't.
* Don't force authentication for GData import from URL
We should be more graceful for those that mistype a refine command. As I sometimes do and inadvertently start OpenRefine, since :doRun is the default.
Tested Output is:
```console
C:\Users\THAD\OpenRefine>set ACTION=reset
C:\Users\THAD\OpenRefine>setlocal
C:\Users\THAD\OpenRefine>if ""reset"" == ""build"" goto doMvn
C:\Users\THAD\OpenRefine>if ""reset"" == ""server_test"" goto doMvn
C:\Users\THAD\OpenRefine>if ""reset"" == ""extensions_test"" goto doMvn
C:\Users\THAD\OpenRefine>if ""reset"" == ""test"" goto doMvn
C:\Users\THAD\OpenRefine>if ""reset"" == ""clean"" goto doMvn
C:\Users\THAD\OpenRefine>if ""reset"" == ""distclean"" goto doMvn
C:\Users\THAD\OpenRefine>if ""reset"" == ""run"" goto doRun
C:\Users\THAD\OpenRefine>if ""reset"" == """" goto doRun
C:\Users\THAD\OpenRefine>echo Unknown Refine command called "reset" , type "refine /?" for proper usage
Unknown Refine command called "reset" , type "refine /?" for proper usage
C:\Users\THAD\OpenRefine>exit /B 1
C:\Users\THAD\OpenRefine>
```
Too often we need to ask multiple questions from folks running OpenRefine on Windows. Let's make this easier for us from a support perspective and just ask the users to paste the contents of the support.log file to us. We can expand on any support.log enhancements later as we come across the need to add more.
** The first native Github commit (ie not one converted from SVN **
Change Google Refine to OpenRefine or just Refine.
Change icon filenames and add some placeholder icons