Support has been upgraded!
The Support Forum is closed. Not to worry! Providing the top quality support you expect and we're known for will continue! We're not ending support, just changing where you submit requests. This will provide you with the best experience possible.
Premium Support
Have you purchased an addon for Connections such as one of our premium templates or extensions with a valid license and you need help?
Please open a Support Ticket in your user account.
Free Support
Are you using the free Connections plugin? Don't worry, you are still very important to us! We are still providing you with the same high quality support that we're known for.
Please open a new support topic in the WordPress support forums for Connections.
Tagged: 8.1.4, entry, getUniqueSlug, sanitize_file_name, sanitize_title, sanitize_title_with_dashes, slug, utf8
- This topic has 5 replies, 3 voices, and was last updated 11 years, 9 months ago by
Steven Zahm.
-
AuthorPosts
-
10/08/2014 at 6:00 pm #306426
Morris
ParticipantHi,
After one of the recent updates all our Connections images and logos with cyrillic slugs stopped working.
The problem is, UTF-8 folder names inside
wp-content/uploads/connections-imagesare urlencoded, such as:
%d0%b5%d0%bb%d0%b5%d0%bd%d0%b0-%d0%bb%d0%b5%d0%b2%d0%b8%d0%bdor%d0%be%d0%bb%d1%8c%d0%b3%d0%b0-%d1%81%d1%82%d0%b5%d1%88%d0%ba%d0%b8%d0%bd%d0%b0. But the HTTP server looks for UTF-8 folder names, such asелена-левинorольга-стешкина, as it’s supposed to.Could you please advise what can be done here to fix the problem?
Thanks,
Vince10/09/2014 at 11:40 am #306598Steven Zahm
Keymaster@ Vincent
The actual folder and filename are encoded? Huh! I use a core WordPress function
sanitize_title()which in turn usessanitize_title_with_dashes(). In that later function it does indeed check for UTF8 and encodes them to be URI safe. I never know that! I wonder why?I use that function to create entry slug, this slug is also used to create the entry file folder name.
It seems is can also do a check for UTF8 and use the
sanitize_file_name()instead to create the entry slug.Could I get a temp admin account and temp access to FTP so I can test this to make sure the solution will work? The login details can be sent via the contact link at the bottom of the page.
10/09/2014 at 7:02 pm #306667Morris
ParticipantHi Steven,
Thanks for your reply. Sending the credentials!
10/11/2014 at 9:18 am #306834Angelina Zhang
GuestThis reply has been marked as private.10/13/2014 at 7:57 pm #306947Steven Zahm
Keymaster@ Angelina
I have a beta of the next bugfix release if you want to give it a try before its released? If you do, please let me know.
11/01/2014 at 8:53 am #308747Steven Zahm
KeymasterI’m going to mark this resolved as version 8.1.5 should address any issues with UTF8 Cyrillic slugs.
-
AuthorPosts
You cannot reply to this support topic. Please open your own support topic.
