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

5 years 5 months ago - 5 years 5 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:
preg_replace( '/[^-a-zA-Z0-9_]/', '', pathinfo( $value['name'], PATHINFO_FILENAME ) )
so maybe it's possible to change it like this:
preg_replace( '/*/', '', pathinfo( $value['name'], PATHINFO_FILENAME ) )
so that it can work with any symbol (latin, cyrillic)?

Please Log in to join the conversation.

Moderators: beatnantkrileon
Time to create page: 0.391 seconds

Facebook Twitter LinkedIn