Skip to Content Skip to Menu

🌲 Merry Christmas! Great savings on Professional and Developer Memberships! Get 25% off now with code XMAS-2024!

#5246 - Avatar (profile picture) doesn't save with cyrillic letters

  • mk3
  • mk3
  • OFFLINE
  • Posts: 137
  • Thanks: 2
  • Karma: -1
9 years 7 months ago - 9 years 7 months ago #263121 by mk3
Ok, I found it! And I saw what the developper said, they repaired it as I understood: forge.joomlapolis.com/issues/5246 . But few questions:
the problem was in this function:
Code:
preg_replace( '/[^-a-zA-Z0-9_]/', '', pathinfo( $value['name'], PATHINFO_FILENAME ) )
so maybe it's possible to change it like this:
Code:
preg_replace( '/*/', '', pathinfo( $value['name'], PATHINFO_FILENAME ) )
so that it can work with any symbol (latin, cyrillic)?
Last edit: 9 years 7 months ago by mk3.

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum