Permalink
Browse files

Still allow external includes for local files.

  • Loading branch information...
1 parent 289ed30 commit a7bd3c20a92e5b47217853976b0d2d3dc609b6e7 @alnorth alnorth committed Oct 10, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 lib/wsdl.js
View
2 lib/wsdl.js
@@ -632,7 +632,7 @@ WSDL.prototype._processNextInclude = function(includes, callback) {
if (!include) return callback()
var includePath;
- if (!/^http/.test(self.uri)) {
+ if (!/^http/.test(self.uri) && !/^http/.test(include.location)) {
includePath = path.resolve(path.dirname(self.uri), include.location);
} else {
includePath = url.resolve(self.uri, include.location);

0 comments on commit a7bd3c2

Please sign in to comment.