1
0
Fork 0
forked from svrjs/svrjs

Update to SVR.JS 3.9.0

This commit is contained in:
Dorian Niemiec 2023-09-03 22:51:02 +02:00
parent 71b5727b6c
commit 91d8d0df63
4 changed files with 1860 additions and 2169 deletions

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>SVR.JS 3.8.1</title>
<title>SVR.JS 3.9.0</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta charset="UTF-8" />
<style>
@ -12,7 +12,7 @@
</style>
</head>
<body>
<h1>Welcome to SVR.JS 3.8.1</h1>
<h1>Welcome to SVR.JS 3.9.0</h1>
<br/>
<img src="/logo.png" style="width: 256px;" />
<br/>
@ -117,8 +117,13 @@
</div>
<p>Changes:</p>
<ul>
<li>Changed default SVR.JS configuration.</li>
<li>Disabled server-side script exposure by default.</li>
<li>Dropped support for undocumented unused non-standard SVR.JS-specific headers.</li>
<li>Fixed bug with <i>wwwredirect</i>.</li>
<li>Replaced HTTP => HTTPS redirect handler</li>
<li>Added support for listening to specific IP address.</li>
<li>Added new config.json property - useWebRootServerSideScript</li>
<li>Added notice about logged user (HTTP authentication).</li>
<li>Added validation of X-Forwarded-For header</li>
</ul>
<p>Bugs:</p>
<ul>

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>SVR.JS 3.8.1 Licenses</title>
<title>SVR.JS 3.9.0 Licenses</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta charset="UTF-8" />
<style>
@ -12,8 +12,8 @@
</style>
</head>
<body>
<h1>SVR.JS 3.8.1 Licenses</h1>
<h2>SVR.JS 3.8.1</h2>
<h1>SVR.JS 3.9.0 Licenses</h1>
<h2>SVR.JS 3.9.0</h2>
<div style="display: inline-block; text-align: left; border-width: 2px; border-style: solid; border-color: gray; padding: 8px;">
MIT License<br/>
<br/>
@ -37,7 +37,7 @@
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE<br/>
SOFTWARE.<br/>
</div>
<h2>Packages used by SVR.JS 3.8.1 and utilities</h2>
<h2>Packages used by SVR.JS 3.9.0 and utilities</h2>
<div style="width: 100%; background-color: #ccc; border: 1px solid green; text-align: left; margin: 10px 0;">
<div style="float: right;">License: MIT</div>
<div style="font-size: 20px;">

1174
svr.js

File diff suppressed because one or more lines are too long

View file

@ -1,7 +1,7 @@
<!DOCTYPE html>
<html>
<head>
<title>SVR.JS 3.8.1 Tests</title>
<title>SVR.JS 3.9.0 Tests</title>
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta charset="UTF-8" />
<style>
@ -12,7 +12,7 @@
</style>
</head>
<body>
<h1>SVR.JS 3.8.1 Tests</h1>
<h1>SVR.JS 3.9.0 Tests</h1>
<h2>Directory</h2>
<iframe src="/testdir" width="50%" height="300px"></iframe>
<h2>Directory (with query)</h2>