Menu

#123 ColladaLoader::ConvertPath

closed-fixed
nobody
Assimp lib (91)
5
2013-03-27
2013-03-26
Rigobello
No

It seem that there is a bug in this function :

Converting :./xxxxxxx%20-%20Ayyyyy.JPG
give me somtinh like : ./xxxxxxx -yyyyyy.JPG

Discussion

  • Rigobello

    Rigobello - 2013-03-26

    More specificaly it is strtoul16 that is not appropiate :
    if we converte %20Ddecode
    using
    size_t nbr = strtoul16 return nbr = 0x20d !!!!!!!

     
  • Thomas Ziegenhagen

    Thanks for the report! The URL encoding spec does indeed specify that a special character with %xy does exactly hold two hex digits. I fixed the Collada URL parsing code and committed the fix to Github.

     
  • Thomas Ziegenhagen

    • status: open --> closed-fixed