summaryrefslogtreecommitdiff
path: root/src/module_wrap.h
diff options
context:
space:
mode:
authorGuy Bedford <guybedford@gmail.com>2017-10-26 21:52:00 +0200
committerMichaël Zasso <targos@protonmail.com>2017-10-28 13:25:40 +0200
commitcadc47fe076caa91bda6aa148e0b37be609781d7 (patch)
treef0ab70fe27d203b6f937333724a11a1ee2fdf033 /src/module_wrap.h
parentd853758a227066ce4cf58d3d7577b9c513ff8c7c (diff)
downloadandroid-node-v8-cadc47fe076caa91bda6aa148e0b37be609781d7.tar.gz
android-node-v8-cadc47fe076caa91bda6aa148e0b37be609781d7.tar.bz2
android-node-v8-cadc47fe076caa91bda6aa148e0b37be609781d7.zip
module: fix extension lookups for top-level main
The reason is that absolute URLs do not go through extension and index checks. By switching to an absolute path, the resolver still applies extensions properly to the top-level main. PR-URL: https://github.com/nodejs/node/pull/16526 Fixes: https://github.com/nodejs/node/issues/16476 Reviewed-By: Myles Borins <myles.borins@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Diffstat (limited to 'src/module_wrap.h')
0 files changed, 0 insertions, 0 deletions