Unicode URLs in favorites notification email are broken

More
12 years 1 month 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
12 years 1 month 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 review. Thanks!

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

More
12 years 1 month 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
12 years 1 month 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 review. Thanks!

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

More
12 years 3 weeks ago #43954 by brandonking

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

More
12 years 2 weeks 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 review. Thanks!

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

More
12 years 2 weeks ago #44180 by brandonking
Yes, I am getting valid URL.
But there is no Itemid included in URL so there are some missing modules.

I have set params in TYPE like below:
Default menu item for content item URLs: appropriate menu selected
Default menu item: None

Regards,

P.S:
I have tested it with different item in different category.
If the category name includes a symbol like "・" , "("or ")" then produces invalide URL.

...option=com_flexicontent&view=category&cid=1266:アパート・マンション&id=20:「サンプル」アパート

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

More
12 years 1 week ago #44339 by ggppdk

brandonking wrote: Yes, I am getting valid URL.
But there is no Itemid included in URL so there are some missing modules.


so did the above change make a difference,
-- i mean did it fix the broken url in the URL ???

(the URL that has some specific Japanese characters) (a url that has category or item alias with japanese characters)


-- 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 review. Thanks!

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

More
12 years 1 week ago #44349 by brandonking
No, It didn't fix the broken URL(URL that has some specific Japanese characters).
what about removing URL alias?

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

More
12 years 1 week ago #44352 by ggppdk
Hello

maybe it is better to "urlencode" them ?

... so that
non-ASCII characters will appear as:
%hh


-- 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 review. Thanks!

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

Moderators: vistamediajoomlacornerggppdk
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