rangeviolation #3

Closed
maartenvd opened this Issue Jun 23, 2012 · 4 comments

Projects

None yet

2 participants

@maartenvd

this:
import std.stdio;
import dhttpclient;

void main()
{
HTTPClient webclient=new HTTPClient();
writeln(webclient.get("http://www.tf2tp.com/login.php?login"));
}

crashes with the error

core.exception.RangeError@dhttpclient(389): Range violation

42643C
4262B3
4084E4
408A49
4093BD
408F7D
4093CA
402033
40A4EB
40A0FB

43ADD1

I'm assuming this is because it assumes the presence of an "=" after login which isn't always true.

@Bystroushaak
@maartenvd

ok, thank you very much

@maartenvd maartenvd closed this Jun 23, 2012
@maartenvd maartenvd reopened this Jun 23, 2012
@maartenvd

maybe I closed it a bit too early as I still have a little question. How can I set cookie data? I want to circumvent that login by experimenting with the saved cookies, unfortunately I have no idea as to how to do this.

I've also noticed that you're dhtmlparser does a wonderful job at parsing normal xml too, maybe you should rename it :)

@Bystroushaak
@maartenvd maartenvd closed this Jun 23, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment