Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
doc: don't use '
Browse files Browse the repository at this point in the history
Ref: #3964
  • Loading branch information
piscisaureus committed Sep 4, 2012
1 parent 9f57e42 commit 12e327d
Show file tree
Hide file tree
Showing 18 changed files with 35 additions and 35 deletions.
2 changes: 1 addition & 1 deletion doc/blog/release/node-version-0-7-9-unstable.md
Expand Up @@ -22,7 +22,7 @@ slug: node-version-0-7-9-unstable
</li>
<li><p>fs: 64bit offsets for fs calls (Igor Zinkovsky)</p>
</li>
<li><p>fs: add sync open flags &apos;rs&apos; and &apos;rs+&apos; (Kevin Bowman)</p>
<li><p>fs: add sync open flags &#39;rs&#39; and &#39;rs+&#39; (Kevin Bowman)</p>
</li>
<li><p>windows: enable creating directory junctions with fs.symlink (Igor Zinkovsky, Bert Belder)</p>
</li>
Expand Down
6 changes: 3 additions & 3 deletions doc/blog/release/version-0-6-11-stable.md
Expand Up @@ -18,7 +18,7 @@ slug: version-0-6-11-stable
</li>
<li><p>tls: mitigate session renegotiation attacks (Ben Noordhuis)</p>
</li>
<li><p>tcp, pipe: don&apos;t assert on uv_accept() errors (Ben Noordhuis)</p>
<li><p>tcp, pipe: don&#39;t assert on uv_accept() errors (Ben Noordhuis)</p>
</li>
<li><p>tls: Allow establishing secure connection on the existing socket (koichik)</p>
</li>
Expand All @@ -38,13 +38,13 @@ slug: version-0-6-11-stable
</li>
<li><p>dtrace: add missing translator (Dave Pacheco)</p>
</li>
<li><p>unix: don&apos;t flush tty on switch to raw mode (Ben Noordhuis)</p>
<li><p>unix: don&#39;t flush tty on switch to raw mode (Ben Noordhuis)</p>
</li>
<li><p>windows: reset brightness when reverting to default text color (Bert Belder)</p>
</li>
<li><p>npm: update to 1.1.1</p>

<p>- Update which, fstream, mkdirp, request, and rimraf<br>- Fix #2123 Set path properly for lifecycle scripts on windows<br>- Mark the root as seen, so we don&apos;t recurse into it. Fixes #1838. (Martin Cooper)</p>
<p>- Update which, fstream, mkdirp, request, and rimraf<br>- Fix #2123 Set path properly for lifecycle scripts on windows<br>- Mark the root as seen, so we don&#39;t recurse into it. Fixes #1838. (Martin Cooper)</p>

</li>
</ul>
Expand Down
4 changes: 2 additions & 2 deletions doc/blog/release/version-0-6-12-stable.md
Expand Up @@ -18,7 +18,7 @@ slug: version-0-6-12-stable
</li>
<li><p>#2827 net: fix race write() before and after connect() (koichik)</p>
</li>
<li><p>#2554 #2567 throw if fs args for &apos;start&apos; or &apos;end&apos; are strings (AJ ONeal)</p>
<li><p>#2554 #2567 throw if fs args for &#39;start&#39; or &#39;end&#39; are strings (AJ ONeal)</p>
</li>
<li><p>punycode: Update to v1.0.0 (Mathias Bynens)</p>
</li>
Expand All @@ -45,7 +45,7 @@ slug: version-0-6-12-stable
- install: support --save with url install targets<br>
- shrinkwrap: behave properly with url-installed modules<br>
- support installing uncompressed tars or single file modules from urls etc.<br>
- don&apos;t run make clean on rebuild<br>
- don&#39;t run make clean on rebuild<br>
- support HTTPS-over-HTTP proxy tunneling<br>
</p>
</li>
Expand Down
6 changes: 3 additions & 3 deletions doc/blog/release/version-0-6-14-stable.md
Expand Up @@ -10,7 +10,7 @@ slug: version-0-6-14-stable

</p>
<ul>
<li><p>net: don&apos;t crash when queued write fails (Igor Zinkovsky)</p>
<li><p>net: don&#39;t crash when queued write fails (Igor Zinkovsky)</p>
</li>
<li><p>sunos: fix EMFILE on process.memoryUsage() (Bryan Cantrill)</p>
</li>
Expand All @@ -26,9 +26,9 @@ slug: version-0-6-14-stable
<p>
- upgrade node-gyp to 0.3.7<br>
- work around AV-locked directories on Windows<br>
- Fix isaacs/npm#2293 Don&apos;t try to &apos;uninstall&apos; /<br>
- Fix isaacs/npm#2293 Don&#39;t try to &#39;uninstall&#39; /<br>
- Exclude symbolic links from packages.<br>
- Fix isaacs/npm#2275 Spurious &apos;unresolvable cycle&apos; error.<br>
- Fix isaacs/npm#2275 Spurious &#39;unresolvable cycle&#39; error.<br>
- Exclude/include dot files as if they were normal files
</p>
</li>
Expand Down
4 changes: 2 additions & 2 deletions doc/blog/release/version-0-6-15-stable.md
Expand Up @@ -18,13 +18,13 @@ slug: version-0-6-15-stable
</li>
<li><p>add 64bit offset fs functions (Igor Zinkovsky)</p>
</li>
<li><p>windows: don&apos;t report ENOTSOCK when attempting to bind an udp handle twice (Bert Belder)</p>
<li><p>windows: don&#39;t report ENOTSOCK when attempting to bind an udp handle twice (Bert Belder)</p>
</li>
<li><p>windows: backport pipe-connect-to-file fixes from master (Bert Belder)</p>
</li>
<li><p>windows: never call fs event callbacks after closing the watcher (Bert Belder)</p>
</li>
<li><p>fs.readFile: don&apos;t make the callback before the fd is closed (Bert Belder)</p>
<li><p>fs.readFile: don&#39;t make the callback before the fd is closed (Bert Belder)</p>
</li>
<li><p>windows: use 64bit offsets for uv_fs apis (Igor Zinkovsky)</p>
</li>
Expand Down
2 changes: 1 addition & 1 deletion doc/blog/release/version-0-6-16-stable.md
Expand Up @@ -34,7 +34,7 @@ slug: version-0-6-16-stable
</li>
<li><p>http_parser: Eat CRLF between requests, even on connection:close. (Ben Noordhuis)</p>
</li>
<li><p>don&apos;t check return value of unsetenv (Ben Noordhuis)</p>
<li><p>don&#39;t check return value of unsetenv (Ben Noordhuis)</p>
</li>
</ul>
<p>Source Code: <a href="http://nodejs.org/dist/v0.6.16/node-v0.6.16.tar.gz">http://nodejs.org/dist/v0.6.16/node-v0.6.16.tar.gz</a>
Expand Down
6 changes: 3 additions & 3 deletions doc/blog/release/version-0-6-18-stable.md
Expand Up @@ -24,15 +24,15 @@ slug: version-0-6-18-stable
</li>
<li><p>#3258: fs.ReadStream.pause() emits duplicate data event (koichik)</p>
</li>
<li><p>pipe_wrap: don&apos;t assert() on pipe accept errors (Ben Noordhuis)</p>
<li><p>pipe_wrap: don&#39;t assert() on pipe accept errors (Ben Noordhuis)</p>
</li>
<li><p>Better exception output for module load and process.nextTick (Felix Geisendörfer)</p>
</li>
<li><p>zlib: fix error reporting (Ben Noordhuis)</p>
</li>
<li><p>http: Don&apos;t destroy on timeout (isaacs)</p>
<li><p>http: Don&#39;t destroy on timeout (isaacs)</p>
</li>
<li><p>#3231: http: Don&apos;t try to emit error on a null&apos;ed req object (isaacs)</p>
<li><p>#3231: http: Don&#39;t try to emit error on a null&#39;ed req object (isaacs)</p>
</li>
<li><p>#3236: http: Refactor ClientRequest.onSocket (isaacs)</p>
</li>
Expand Down
2 changes: 1 addition & 1 deletion doc/blog/release/version-0-7-10-unstable.md
Expand Up @@ -44,7 +44,7 @@ on the API before it is locked down for stability.
</li>
<li><p>windows/msi: add start menu links when installing (Jeroen Janssen)</p>
</li>
<li><p>windows: don&apos;t install x64 version into the &apos;program files (x86)&apos; folder (Matt Gollob)</p>
<li><p>windows: don&#39;t install x64 version into the &#39;program files (x86)&#39; folder (Matt Gollob)</p>
</li>
<li><p>domain: Fix #3379 domain.intercept no longer passes error arg to cb (Marc Harter)</p>
</li>
Expand Down
4 changes: 2 additions & 2 deletions doc/blog/release/version-0-7-11-unstable.md
Expand Up @@ -28,7 +28,7 @@ on the github issue tracker.
</li>
<li><p>Fix #3425: removeAllListeners should delete array (Reid Burke)</p>
</li>
<li><p>cluster: don&apos;t silently drop messages when the write queue gets big (Bert Belder)</p>
<li><p>cluster: don&#39;t silently drop messages when the write queue gets big (Bert Belder)</p>
</li>
<li><p>Add Buffer.concat method (isaacs)</p>
</li>
Expand All @@ -40,7 +40,7 @@ on the github issue tracker.
</li>
<li><p>Windows: Enable ETW events on Windows for existing DTrace probes. (Igor Zinkovsky)</p>
</li>
<li><p>test: bundle node-weak in test/gc so that it doesn&apos;t need to be downloaded (Nathan Rajlich)</p>
<li><p>test: bundle node-weak in test/gc so that it doesn&#39;t need to be downloaded (Nathan Rajlich)</p>
</li>
<li><p>Make many tests pass on Windows (Bert Belder)</p>
</li>
Expand Down
2 changes: 1 addition & 1 deletion doc/blog/release/version-0-7-12.md
Expand Up @@ -13,7 +13,7 @@ slug: version-0-7-12
<p>Please try out this release. There will be very virtually no changes between this and the v0.8.x release family. This is the last chance to comment before it is locked down for stability. The API is effectively frozen now. </p>
<p>This version adds backwards-compatible shims for binary addons that use libeio and libev directly. If you find that binary modules that could compile on v0.6 can not compile on this version, please let us know. Note that libev is officially deprecated in v0.8, and will be removed in v0.9. You should be porting your modules to use libuv as soon as possible. </p>
<p>V8 is on 3.11.10 currently, and will remain on the V8 3.11.x branch for the duration of Node v0.8.x. </p>
<ul> <li><p>npm: Upgrade to 1.1.30<br> - Improved &apos;npm init&apos;<br> - Fix the &apos;cb never called&apos; error from &apos;oudated&apos; and &apos;update&apos;<br> - Add --save-bundle|-B config<br> - Fix isaacs/npm#2465: Make npm script and windows shims cygwin-aware<br> - Fix isaacs/npm#2452 Use --save(-dev|-optional) in npm rm<br> - <code>logstream</code> option to replace removed <code>logfd</code> (Rod Vagg)<br> - Read default descriptions from README.md files </p>
<ul> <li><p>npm: Upgrade to 1.1.30<br> - Improved &#39;npm init&#39;<br> - Fix the &#39;cb never called&#39; error from &#39;oudated&#39; and &#39;update&#39;<br> - Add --save-bundle|-B config<br> - Fix isaacs/npm#2465: Make npm script and windows shims cygwin-aware<br> - Fix isaacs/npm#2452 Use --save(-dev|-optional) in npm rm<br> - <code>logstream</code> option to replace removed <code>logfd</code> (Rod Vagg)<br> - Read default descriptions from README.md files </p>
</li> <li><p>Shims to support deprecated <code>ev_*</code> and <code>eio_*</code> methods (Ben Noordhuis)</p>
</li> <li><p>#3118 net.Socket: Delay pause/resume until after connect (isaacs)</p>
</li> <li><p>#3465 Add ./configure --no-ifaddrs flag (isaacs)</p>
Expand Down
2 changes: 1 addition & 1 deletion doc/blog/release/version-0-7-5-unstable.md
Expand Up @@ -40,7 +40,7 @@ slug: version-0-7-5-unstable
</li>
<li><p>build: Make a fat binary for the OS X <code>make pkg</code>. (Nathan Rajlich)</p>
</li>
<li><p>jslint src/ and lib/ on &apos;make test&apos; (isaacs)</p>
<li><p>jslint src/ and lib/ on &#39;make test&#39; (isaacs)</p>
</li>
</ul>
<p>Source Code: <a href="http://nodejs.org/dist/v0.7.5/node-v0.7.5.tar.gz">http://nodejs.org/dist/v0.7.5/node-v0.7.5.tar.gz</a>
Expand Down
4 changes: 2 additions & 2 deletions doc/blog/release/version-0-7-6-unstable.md
Expand Up @@ -21,11 +21,11 @@ slug: version-0-7-6-unstable
- Handle cases where an optionalDependency fails to build<br>
</p>
</li>
<li><p>events: newListener emit correct fn when using &apos;once&apos; (Roly Fentanes)</p>
<li><p>events: newListener emit correct fn when using &#39;once&#39; (Roly Fentanes)</p>
</li>
<li><p>url: Ignore empty port component (Łukasz Walukiewicz)</p>
</li>
<li><p>module: replace &apos;children&apos; array (isaacs)</p>
<li><p>module: replace &#39;children&#39; array (isaacs)</p>
</li>
<li><p>tls: parse multiple values of a key in ssl certificate (Sambasiva Suda)</p>
</li>
Expand Down
8 changes: 4 additions & 4 deletions doc/blog/release/version-0-7-7-unstable.md
Expand Up @@ -28,7 +28,7 @@ slug: version-0-7-7-unstable
</li>
<li><p>cluster: add graceful disconnect support (Andreas Madsen)</p>
</li>
<li><p>child_process: Separate &apos;close&apos; event from &apos;exit&apos; (Charlie McConnell)</p>
<li><p>child_process: Separate &#39;close&#39; event from &#39;exit&#39; (Charlie McConnell)</p>
</li>
<li><p>typed arrays: add Uint8ClampedArray (Mikael Bourges-Sevenier)</p>
</li>
Expand All @@ -38,11 +38,11 @@ slug: version-0-7-7-unstable
</li>
<li><p>Expose http parse error codes (Felix Geisendörfer)</p>
</li>
<li><p>events: don&apos;t delete the listeners array (Ben Noordhuis, Nathan Rajlich)</p>
<li><p>events: don&#39;t delete the listeners array (Ben Noordhuis, Nathan Rajlich)</p>
</li>
<li><p>process: add process.config to view node&apos;s ./configure settings (Nathan Rajlich)</p>
<li><p>process: add process.config to view node&#39;s ./configure settings (Nathan Rajlich)</p>
</li>
<li><p>process: process.execArgv to see node&apos;s arguments (Micheil Smith)</p>
<li><p>process: process.execArgv to see node&#39;s arguments (Micheil Smith)</p>
</li>
<li><p>process: fix process.title setter (Ben Noordhuis)</p>
</li>
Expand Down
4 changes: 2 additions & 2 deletions doc/blog/release/version-0-7-8-unstable.md
Expand Up @@ -30,11 +30,11 @@ slug: version-0-7-8-unstable
</li>
<li><p>typed arrays: unexport SizeOfArrayElementForType() (Aaron Jacobs)</p>
</li>
<li><p>net: honor &apos;enable&apos; flag in .setNoDelay() (Ben Noordhuis)</p>
<li><p>net: honor &#39;enable&#39; flag in .setNoDelay() (Ben Noordhuis)</p>
</li>
<li><p>child_process: emit error when .kill fails (Andreas Madsen)</p>
</li>
<li><p>gyp: fix &apos;argument list too long&apos; build error (Ben Noordhuis)</p>
<li><p>gyp: fix &#39;argument list too long&#39; build error (Ben Noordhuis)</p>
</li>
<li><p>fs.WriteStream: Handle modifications to fs.open (isaacs)</p>
</li>
Expand Down
Expand Up @@ -13,9 +13,9 @@ slug: http-server-security-vulnerability-please-upgrade-to-0-6-17

<h2>Details</h2>

<p>A few weeks ago, Matthew Daley found a security vulnerability in Node&apos;s HTTP implementation, and thankfully did the responsible thing and reported it to us via email. He explained it quite well, so I'll quote him here:</p>
<p>A few weeks ago, Matthew Daley found a security vulnerability in Node&#39;s HTTP implementation, and thankfully did the responsible thing and reported it to us via email. He explained it quite well, so I'll quote him here:</p>
<blockquote>
<p>There is a vulnerability in node&apos;s `http_parser` binding which allows information disclosure to a remote attacker:
<p>There is a vulnerability in node&#39;s `http_parser` binding which allows information disclosure to a remote attacker:

</p>
<p>In node::StringPtr::Update, an attempt is made at an optimization on certain inputs (`node_http_parser.cc`, line 151). The intent is that if the current string pointer plus the current string size is equal to the incoming string pointer, the current string size is just increased to match, as the incoming string lies just beyond the current string pointer. However, the check to see whether or not this can be done is incorrect; &quot;size&quot; is used whereas &quot;size_&quot; should be used. Therefore, an attacker can call Update with a string of certain length and cause the current string to have other data appended to it. In the case of HTTP being parsed out of incoming socket data, this can be incoming data from other sockets.
Expand All @@ -41,5 +41,5 @@ X header:
</blockquote>
<p>The fix landed on <a href="https://github.com/joyent/node/commit/7b3fb22">7b3fb22</a> and <a href="https://github.com/joyent/node/commit/c9a231d">c9a231d</a>, for master and v0.6, respectively. The innocuous commit message does not give away the security implications, precisely because we wanted to get a fix out before making a big deal about it. </p>
<p>The first releases with the fix are v0.7.8 and 0.6.17. So now is a good time to make a big deal about it. </p>
<p>If you are using node version 0.6 in production, please upgrade to at least <a href="http://blog.nodejs.org/2012/05/04/version-0-6-17-stable/">v0.6.17</a>, or at least apply the fix in <a href="https://github.com/joyent/node/commit/c9a231d">c9a231d</a> to your system. (Version 0.6.17 also fixes some other important bugs, and is without doubt the most stable release of Node 0.6 to date, so it&apos;s a good idea to upgrade anyway.) </p>
<p>I&apos;m extremely grateful that Matthew took the time to report the problem to us with such an elegant explanation, and in such a way that we had a reasonable amount of time to fix the issue before making it public. </p>
<p>If you are using node version 0.6 in production, please upgrade to at least <a href="http://blog.nodejs.org/2012/05/04/version-0-6-17-stable/">v0.6.17</a>, or at least apply the fix in <a href="https://github.com/joyent/node/commit/c9a231d">c9a231d</a> to your system. (Version 0.6.17 also fixes some other important bugs, and is without doubt the most stable release of Node 0.6 to date, so it&#39;s a good idea to upgrade anyway.) </p>
<p>I&#39;m extremely grateful that Matthew took the time to report the problem to us with such an elegant explanation, and in such a way that we had a reasonable amount of time to fix the issue before making it public. </p>
2 changes: 1 addition & 1 deletion tools/doc/node_modules/marked/lib/marked.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion tools/gyp/pylib/gyp/easy_xml.py
Expand Up @@ -133,7 +133,7 @@ def WriteXmlIfChanged(content, path, encoding='utf-8', pretty=False,

_xml_escape_map = {
'"': '&quot;',
"'": '&apos;',
"'": '&#39;',
'<': '&lt;',
'>': '&gt;',
'&': '&amp;',
Expand Down
2 changes: 1 addition & 1 deletion tools/gyp/pylib/gyp/easy_xml_test.py
Expand Up @@ -33,7 +33,7 @@ def test_EasyXml_simple_with_attributes(self):
def test_EasyXml_escaping(self):
original = '<test>\'"\r&\nfoo'
converted = '&lt;test&gt;\'&quot;&#xD;&amp;&#xA;foo'
converted_apos = converted.replace("'", '&apos;')
converted_apos = converted.replace("'", '&#39;')
self.assertEqual(
easy_xml.XmlToString(['test3', {'a': original}, original]),
'<?xml version="1.0" encoding="utf-8"?><test3 a="%s">%s</test3>' %
Expand Down

0 comments on commit 12e327d

Please sign in to comment.