* Fix an URL parsing issue impacting title containing a '/' (ID: 3065286)

This commit is contained in:
kelson42 2010-09-13 19:59:51 +00:00
parent 459e6550b5
commit d52c86bcac
1 changed files with 4 additions and 4 deletions

View File

@ -126,7 +126,7 @@ namespace kiwix {
/* Get content title */ /* Get content title */
char title[1024]; char title[1024];
unsigned int titleOffset = 0; unsigned int titleOffset = 0;
while((offset < urlLength) && (url[offset] != '/')) { while (offset < urlLength) {
title[titleOffset] = url[offset]; title[titleOffset] = url[offset];
offset++; offset++;
titleOffset++; titleOffset++;