Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[F] Theme import and special chars
#1
If a theme name of a .xml has special chars in it such like é, è, &, etc. the theme import failes because it can't read the contents as it stops just at the 2nd line (Where the theme name is).

If you remove those chars the import will work but it's still a bug so I've reported it.
Regards,
Manuel

Don't ask me for support over PM, please.
#2
Example xml file? I don't see how this is a bug with MyBB because we use a 3rd party XML class to parse along with the PHP XML extension and we don't just "stop" on multibyte characters.
#3
Okay I've just added the original default xml with the following name:

TéSt & Tèst

Try to import it and you will get an error.


Attached Files
.xml   Default-theme.xml (Size: 54.74 KB / Downloads: 511)
Regards,
Manuel

Don't ask me for support over PM, please.
#4
Thank you for your bug report.

This bug has been fixed in our internal code repository. Please note that the problem will not be fixed here until these forums are updated.
#5
This wasn't caused by the multi-byte characters, it was caused by the & you had in there - It wasn't converted to & and caused the xml document to not validate.


Forum Jump:


Users browsing this thread: 1 Guest(s)