node/lib
Jeffrey Jagoda 1e94057c05 url: fix resolving from non-file to file URLs.
When resolving a reference URL with the 'file' scheme an no host
against a base URL without the 'file' scheme, the first path element
of the reference URL is used as the host for the target URL. This
results in an invalid target URL.

This change makes an exception for file URLs so that the host is not
mangled during URL resolution.

PR-URL: https://github.com/iojs/io.js/pull/1277
Reviewed-By: Roman Reiss <me@silverwind.io>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: Petka Antonov <petka_antonov@hotmail.com>
2015-04-04 13:25:32 +03:00
..
internal iojs: introduce internal modules 2015-03-25 22:12:18 +03:00
_debug_agent.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
_debugger.js debugger: don't spawn child process in remote mode 2015-03-27 17:28:48 +01:00
_http_agent.js https: don't overwrite servername option 2015-03-10 23:28:04 -07:00
_http_client.js http_client: ensure empty socket on error 2015-03-09 09:25:09 -04:00
_http_common.js iojs: introduce internal modules 2015-03-25 22:12:18 +03:00
_http_incoming.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
_http_outgoing.js http: add flushHeaders and deprecate flush 2015-03-17 00:54:11 +01:00
_http_server.js tracing: add lttng support for tracing on linux 2015-02-09 18:06:57 +01:00
_linklist.js Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
_stream_duplex.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
_stream_passthrough.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
_stream_readable.js stream: simpler stream constructon 2015-02-04 20:19:39 -08:00
_stream_transform.js stream: simpler stream constructon 2015-02-04 20:19:39 -08:00
_stream_wrap.js streams: use strict on _stream_wrap 2015-03-28 04:06:01 +09:00
_stream_writable.js lib: remove unused variables 2015-03-31 15:58:42 -04:00
_tls_common.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
_tls_legacy.js stream_base: introduce StreamBase 2015-02-22 22:31:57 +03:00
_tls_wrap.js tls_wrap: proxy handle methods in prototype 2015-03-09 14:48:21 -04:00
assert.js assert: simplify logic of testing buffer equality 2015-03-23 19:10:04 -07:00
buffer.js buffer: align chunks on 8-byte boundary 2015-03-11 11:39:57 -07:00
child_process.js lib: add missing new for errors lib/*.js 2015-03-24 12:42:15 -07:00
cluster.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
console.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
constants.js Remove excessive copyright/license boilerplate 2015-01-12 15:30:28 -08:00
crypto.js lib: add missing new for errors lib/*.js 2015-03-24 12:42:15 -07:00
dgram.js dgram: check close callback is function 2015-02-02 18:44:05 +01:00
dns.js lib: add missing new for errors lib/*.js 2015-03-24 12:42:15 -07:00
domain.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
events.js lib: add missing new for errors lib/*.js 2015-03-24 12:42:15 -07:00
freelist.js iojs: introduce internal modules 2015-03-25 22:12:18 +03:00
fs.js fs: fix corruption in writeFile and writeFileSync 2015-03-24 18:18:16 -07:00
http.js http: replace util._extend() with [].slice() 2015-02-02 14:52:02 -08:00
https.js https: simpler argument check 2015-02-07 12:00:16 -08:00
module.js iojs: introduce internal modules 2015-03-25 22:12:18 +03:00
net.js net: use cached peername to resolve remote fields 2015-03-16 16:20:16 -04:00
os.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
path.js path: reduce type checking on some methods 2015-03-19 21:11:12 -04:00
process.js src: remove excessive license boilerplate 2015-01-27 16:35:05 +11:00
punycode.js lib: add missing new for errors lib/*.js 2015-03-24 12:42:15 -07:00
querystring.js querystring: fix broken stringifyPrimitive 2015-03-19 21:47:41 -04:00
readline.js readline: use native codePointAt 2015-02-22 20:07:25 -08:00
repl.js lib: don't error in repl when cwd doesn't exist 2015-03-19 02:11:38 +01:00
smalloc.js smalloc: export constants from C++ 2015-03-04 11:37:12 +03:00
stream.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
string_decoder.js string_decoder: optimize write() 2015-03-25 00:34:34 -04:00
sys.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
timers.js timers: remove redundant code 2015-04-04 02:31:51 +03:00
tls.js tls: more secure defaults 2015-02-16 12:33:12 +01:00
tty.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
url.js url: fix resolving from non-file to file URLs. 2015-04-04 13:25:32 +03:00
util.js lib: remove unused variables 2015-03-31 15:58:42 -04:00
v8.js lib: use const to define constants 2015-01-21 16:21:31 -05:00
vm.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00
zlib.js lib: reduce util.is*() usage 2015-01-31 23:47:29 -05:00