Update cr.c

This commit is contained in:
wibyweb 2023-05-11 00:44:28 -04:00 committed by GitHub
parent 57addd1688
commit 500b173863
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

9
c/cr.c
View file

@ -479,6 +479,15 @@ int main(int argc, char **argv)
urltoolong=1;
printf("\nURL is too long");
}
int finalURLcount=0;
while(finalURL[finalURLcount]!=0){
if(finalURL[finalURLcount]=='\''){
urltoolong=1;//reusing this
printf("\nURL contains single-quote. Skipping.");
}
finalURLcount++;
}
char finalURLnoprefix[finalURLsize-prefixsize+100];
char httpAllow[] = "0";