Unicode URLs in favorites notification email are broken

More
11 years 5 months ago #43736 by brandonking
When Favored Item updated:
I am getting notification email with invalid URL.

www.mydomain.com/index.php?option=com_fl...view=item&cid=9:アパート ・マンション&id=36:「サンプル」アパート・マンション

Not the whole string of URL is clickable and there is no Itemid.

When Existing Item updated:
I am getting notification email with valid URL.

www.mydomain.com/index.php?option=com_fl...36&Itemid=157&lang=*

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

More
11 years 5 months ago #43742 by ggppdk
Hello

firstly, let's get some more info:

if you create an item with English characters in title, then does it work ?


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
11 years 5 months ago #43760 by brandonking
You are right, I get correct URL if I change category name and item title to English.

Maybe, use cid & id only and remove category name and item title.

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

More
11 years 5 months ago #43770 by ggppdk
Hello

yes either, encode the URL or strip alias

but i think problem could be solved with base64 encoding for the email ?

will test this


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

More
11 years 5 months ago #43954 by brandonking

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

More
11 years 5 months ago #44173 by ggppdk
Hello

try this:
-- edit file
plugins\flexicontent\flexinotify\flexinotify.php

find:
Code:
$send_result = FLEXI_J16GE ? JFactory::getMailer()->sendMail( $from, $fromname, $recipient, $subject, $_message, $html_mode, $cc, $bcc, $attachment, $replyto, $replytoname ) : JUtility::sendMail( $from, $fromname, $recipient, $subject, $_message, $html_mode, $cc, $bcc, $attachment, $replyto, $replytoname );

and replace with:
Code:
if (FLEXI_J16GE) { $mailer = JFactory::getMailer(); $mailer->Encoding = 'base64'; } $send_result = FLEXI_J16GE ? $mailer->sendMail( $from, $fromname, $recipient, $subject, $_message, $html_mode, $cc, $bcc, $attachment, $replyto, $replytoname ) : JUtility::sendMail( $from, $fromname, $recipient, $subject, $_message, $html_mode, $cc, $bcc, $attachment, $replyto, $replytoname );


-- Flexicontent is Free but involves a big effort on our part.
Like the our support? (for a bug-free FC, despite having a long list of functions) Like the features? Like the ongoing development and future commitment to FLEXIcontent?
-- Add your voice to the FLEXIcontent JED listing with a 5-star...

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

Moderators: vistamediajoomlacornerggppdk
Time to create page: 0.311 seconds
Cookies user preferences
We use cookies to ensure you to get the best experience on our website. If you decline the use of cookies, this website may not function as expected.
Accept all
Decline all
Essential
These cookies are needed to make the website work correctly. You can not disable them.
Display
Accept
Analytics
Tools used to analyze the data to measure the effectiveness of a website and to understand how it works.
Google Analytics
Accept
Decline
Save