提交 68a0c11f 编写于 作者: R rebornix

Fix infinite loop

上级 4ce0a735
......@@ -219,7 +219,7 @@ export class UriIterator implements IKeyIterator<URI> {
} else if (this._states[this._stateIdx] === UriIteratorState.Path) {
return this._pathIterator.cmp(a);
} else if (this._states[this._stateIdx] === UriIteratorState.Query) {
return compareIgnoreCase(a, this._value.scheme);
return compareIgnoreCase(a, this._value.query);
} else if (this._states[this._stateIdx] === UriIteratorState.Fragment) {
return compareIgnoreCase(a, this._value.fragment);
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册