mirror of
https://github.com/ChronosX88/nesca.git
synced 2024-12-26 01:11:47 +00:00
Fixed JS-redirect
This commit is contained in:
parent
d5937bf0dd
commit
0c31a70090
@ -2350,7 +2350,12 @@ void _getLinkFromJSLocation(char *dataBuff, char *str, char *tag, char *ip, int
|
||||
if(ptrQuoteTemp != NULL)
|
||||
{
|
||||
sz = ptrQuoteTemp - ptrQuote1 + 1;
|
||||
};
|
||||
}
|
||||
else
|
||||
{
|
||||
ptrQuoteTemp = _findFirst(ptrQuote1 + 1, "\"'");
|
||||
sz = ptrQuoteTemp - ptrQuote1 + 1;
|
||||
}
|
||||
char *tempBuff = new char[sz + 1];
|
||||
ZeroMemory(tempBuff, sizeof(tempBuff));
|
||||
strncpy(tempBuff, ptrQuote1 + 1, sz);
|
||||
|
Loading…
Reference in New Issue
Block a user