Subversion Repositories Kolibri OS

Rev

Rev 7282 | Go to most recent revision | Show entire file | Regard whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 7282 Rev 7742
Line 10... Line 10...
10
	}
10
	}
11
 
11
 
Line 12... Line 12...
12
	if (check_is_the_url_absolute(in_URL)) return;
12
	if (check_is_the_url_absolute(in_URL)) return;
Line 13... Line 13...
13
 
13
 
14
	IF (!strcmpn(in_URL,"//", 2)) 
14
	IF (!strncmp(in_URL,"//", 2)) 
15
	{
15
	{
16
		//strcpy(#newurl, "http:");
16
		//strcpy(#newurl, "http:");
17
		//strcat(#newurl, in_URL);
17
		//strcat(#newurl, in_URL);
18
		sprintf(#newurl, "http:%s", in_URL);
18
		sprintf(#newurl, "http:%s", in_URL);
19
		strcpy(orig_URL, #newurl);
19
		strcpy(orig_URL, #newurl);
20
		return;
20
		return;
Line 21... Line 21...
21
	}
21
	}
22
	
22
	
23
	IF (!strcmpn(in_URL,"./", 2)) in_URL+=2;
23
	IF (!strncmp(in_URL,"./", 2)) in_URL+=2;
24
	if (!http.transfer) 
24
	if (!http.transfer) 
25
	{
25
	{
26
		strcpy(#newurl, history.current());
26
		strcpy(#newurl, history.current());