Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix case of JavaScript. #313

Merged
merged 1 commit into from Jul 4, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion conf/web.xml
Expand Up @@ -548,7 +548,7 @@
<!-- this to work you will need to uncomment the .shtml mime type -->
<!-- definition towards the bottom of this file. -->
<!-- The contentType init param allows you to apply SSI processing to JSP -->
<!-- pages, javascript, or any other content you wish. This filter -->
<!-- pages, JavaScript, or any other content you wish. This filter -->
<!-- supports the following initialization parameters (default values are -->
<!-- in square brackets): -->
<!-- -->
Expand Down
2 changes: 1 addition & 1 deletion java/org/apache/catalina/filters/ExpiresFilter.java
Expand Up @@ -81,7 +81,7 @@
* </p>
* <h2>Filter Configuration</h2><h3>Basic configuration to add
* '{@code Expires}' and '{@code Cache-Control: max-age=}'
* headers to images, css and javascript</h3>
* headers to images, css and JavaScript</h3>
*
* <pre>
* {@code
Expand Down
2 changes: 1 addition & 1 deletion webapps/docs/config/filter.xml
Expand Up @@ -508,7 +508,7 @@ HTTP/1.1 200 OK
<subsection name="Basic configuration sample">
<p>
Basic configuration to add '<code>Expires</code>' and '<code>Cache-Control: max-age=</code>'
headers to images, css and javascript.
headers to images, css and JavaScript.
</p>

<source><![CDATA[<filter>
Expand Down
2 changes: 1 addition & 1 deletion webapps/docs/ssi-howto.xml
Expand Up @@ -61,7 +61,7 @@ is mapped to the URL pattern "*.shtml".</p>
is mapped to the URL pattern "*.shtml", though it can be mapped to "*" as
it will selectively enable/disable SSI processing based on mime types. The
contentType init param allows you to apply SSI processing to JSP pages,
javascript, or any other content you wish.</p>
JavaScript, or any other content you wish.</p>
<p>By default SSI support is disabled in Tomcat.</p>
</section>

Expand Down
2 changes: 1 addition & 1 deletion webapps/docs/ssl-howto.xml
Expand Up @@ -155,7 +155,7 @@ scenarios, they are not suitable for any form of production use.</p>

<p>When securing a website with SSL it's important to make sure that all assets
that the site uses are served over SSL, so that an attacker can&apos;t bypass
the security by injecting malicious content in a javascript file or similar. To
the security by injecting malicious content in a JavaScript file or similar. To
further enhance the security of your website, you should evaluate to use the
HSTS header. It allows you to communicate to the browser that your site should
always be accessed over https.</p>
Expand Down
4 changes: 2 additions & 2 deletions webapps/examples/websocket/chat.xhtml
Expand Up @@ -122,8 +122,8 @@
]]></script>
</head>
<body>
<div class="noscript"><h2 style="color: #ff0000">Seems your browser doesn't support Javascript! Websockets rely on Javascript being enabled. Please enable
Javascript and reload this page!</h2></div>
<div class="noscript"><h2 style="color: #ff0000">Seems your browser doesn't support JavaScript! Websockets rely on JavaScript being enabled. Please enable
JavaScript and reload this page!</h2></div>
<div>
<p>
<input type="text" placeholder="type and press enter to chat" id="chat" />
Expand Down
4 changes: 2 additions & 2 deletions webapps/examples/websocket/drawboard.xhtml
Expand Up @@ -858,8 +858,8 @@
]]></script>
</head>
<body>
<div class="noscript"><div style="color: #ff0000; font-size: 16pt;">Seems your browser doesn't support Javascript! Websockets rely on Javascript being enabled. Please enable
Javascript and reload this page!</div></div>
<div class="noscript"><div style="color: #ff0000; font-size: 16pt;">Seems your browser doesn't support JavaScript! Websockets rely on JavaScript being enabled. Please enable
JavaScript and reload this page!</div></div>
<div id="labelContainer"/>
<div id="drawContainer"/>
<div id="console-container"/>
Expand Down
4 changes: 2 additions & 2 deletions webapps/examples/websocket/echo.xhtml
Expand Up @@ -136,8 +136,8 @@
]]></script>
</head>
<body>
<div class="noscript"><h2 style="color: #ff0000">Seems your browser doesn't support Javascript! Websockets rely on Javascript being enabled. Please enable
Javascript and reload this page!</h2></div>
<div class="noscript"><h2 style="color: #ff0000">Seems your browser doesn't support JavaScript! Websockets rely on JavaScript being enabled. Please enable
JavaScript and reload this page!</h2></div>
<div>
<div id="connect-container">
<div>
Expand Down
4 changes: 2 additions & 2 deletions webapps/examples/websocket/snake.xhtml
Expand Up @@ -49,8 +49,8 @@
]]></style>
</head>
<body>
<div class="noscript"><h2 style="color: #ff0000">Seems your browser doesn't support Javascript! Websockets rely on Javascript being enabled. Please enable
Javascript and reload this page!</h2></div>
<div class="noscript"><h2 style="color: #ff0000">Seems your browser doesn't support JavaScript! Websockets rely on JavaScript being enabled. Please enable
JavaScript and reload this page!</h2></div>
<div style="float: left">
<canvas id="playground" width="640" height="480"/>
</div>
Expand Down