Kiwix-android: Unable to open certain articles of wikipedia_en_medicine_nodet_2018-03.zim

Created on 15 Mar 2018  路  12Comments  路  Source: kiwix/kiwix-android

Bug Report

Environment

  • version of the software you use : Kiwix last nightly
  • device / operating system : Samsung Galaxy Tab

The Bug:

1 - download https://download.kiwix.org/zim/wikipedia/wikipedia_en_medicine_nodet_2018-03.zim
2 - open the welcome page
3 - Click on the first link "Cancer care"
4 - A blank page is displayed

The article "Book:Cancer" should be displayed, if i search for "book:cancer" in the search box, I find it and it is displayed properly.

bug kiwix-lib

All 12 comments

@kelson42 Can I work on this issue? Please assign this to me.

@Rahul5758 Yes :)

@kelson42 Please share your operating system complete details and also provide the apk of kiwix you are using.

@kelson42 Can i work on this issue? Can you assign it to me?

@hjoshi123 Yes

I have already asked to be assigned this issue @kelson42 5 days ago. Kindly see into this.

@hjoshi123 yes, sorry @Rahul5758 is already working on this. My bad.

Can you assign this issue me now so that it is not reassigned again @kelson42 ?

@Rahul5758 I have sent you an invitation, you have to accept it.

This is an encoding issue. The URL linked in the ZIM is .../Book%3ACancer... Kiwix Lib doesn't recognise this. One quick fix would be to replace all %3A's in URLs to : but that might have the possibility of breaking "real" %3A's? @kelson42 Thoughts?

We should probably call urlDecode(path, true) here https://github.com/kiwix/kiwix-lib/blob/master/src/reader.cpp#L467. @mhutti1 Can you try it please?

Was this page helpful?
0 / 5 - 0 ratings