mirror of
https://github.com/kiwix/libkiwix.git
synced 2025-09-10 07:36:20 -04:00
* Fix an URL parsing issue impacting title containing a '/' (ID: 3065286)
This commit is contained in:
parent
459e6550b5
commit
d52c86bcac
@ -126,7 +126,7 @@ namespace kiwix {
|
||||
/* Get content title */
|
||||
char title[1024];
|
||||
unsigned int titleOffset = 0;
|
||||
while((offset < urlLength) && (url[offset] != '/')) {
|
||||
while (offset < urlLength) {
|
||||
title[titleOffset] = url[offset];
|
||||
offset++;
|
||||
titleOffset++;
|
||||
|
Loading…
x
Reference in New Issue
Block a user