AI Search
Classic Search
 Search Phrase:
 Search Type:
Advanced search options
 Search in Forums:
 Search in date period:

 Sort Search Results by:

AI Assistant
Notifications
Clear all

File link on notification email is missing https: at beginning of URL

8 Posts
2 Users
0 Reactions
1,348 Views
Posts: 4
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@lelaurier)
Active Member
Joined: 3 months ago
[#72635]

Hi,

When the notificaton email is sent, I do include the [post_body]. If there is an attached file, it does show in the email as a link to the file.

In the email, the URL is missing the “https:”

Example : //lelaurier.net/xyz instead of https://lelaurier.net/xyz

How can I fix that ?


7 Replies
Sofy
Posts: 5776
 Sofy
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@sofy)
Support Team
Joined: 8 years ago

Hi,

Please attach a screenshot of the email content and let us know how the file is attached. Are you using the wpForo Advanced Attachments add-on?

Also, please provide a screenshot of the related post.


Reply
Posts: 4
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@lelaurier)
Active Member
Joined: 3 months ago

Hi Sofy,

I am not using wpForo Advanced Attachments add-on.

All URL links in the email do work fine. Only the URL of the file "Ordre-du-jour-du-27-janvier.docx" does not work.

The hyperlink is :

//lelaurier.net/wp-content/uploads/wpforo/default_attachments/1769516327-Ordre-du-jour-du-27-janvier.docx (see image - Outlook security message)

instead of :

https://lelaurier.net/wp-content/uploads/wpforo/default_attachments/1769516327-Ordre-du-jour-du-27-janvier.docx

My General settings are OK :

are both set to https://lelaurier.net/

Thanks in advance. Louis

Post Screenshot
Outlook secutity message
 Email Screenshot

Reply
1 Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 8 years ago

Support Team
Posts: 5776
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@lelaurier 

We'll check and get back to you soon. 


Reply
Sofy
Posts: 5776
 Sofy
Admin
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@sofy)
Support Team
Joined: 8 years ago

Dear @lelaurier.

Please find the answer from the developers team below: 

This is expected behavior and it’s OK.

When a URL starts with //domain.com/file, it’s a protocol-relative URL. The browser (or email client) automatically applies the correct protocol (http or https) based on the website or email context.

Because of this, it’s not necessary to explicitly add http:// or https://. The link will still work correctly and the file will be downloaded as expected when clicked.

 


Reply
Posts: 4
Topic starter
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian
(@lelaurier)
Active Member
Joined: 3 months ago

Hi @sofy

You said "The link will still work correctly and the file will be downloaded as expected when clicked."

This is not true. It might do it on the website itself but not in email client. It does show errors in Outlook 365 ( see two attached images) and on my iPhone it just do nothing. All my users reported the same.

Why dont they put the HTTPS: ... they do it for all other links in the notfication email.

Could there be a workaround snippet that I could apply.

 

 

Outlook1
 Outlook2

Reply
1 Reply
Sofy
 Sofy
Admin
(@sofy)
Joined: 8 years ago

Support Team
Posts: 5776
Translate
English
Spanish
French
German
Italian
Portuguese
Russian
Chinese
Japanese
Korean
Arabic
Hindi
Dutch
Polish
Turkish
Vietnamese
Thai
Swedish
Danish
Finnish
Norwegian
Czech
Hungarian
Romanian
Greek
Hebrew
Indonesian
Malay
Ukrainian
Bulgarian
Croatian
Slovak
Slovenian
Serbian
Lithuanian
Latvian
Estonian

@lelaurier 

I’ve discussed this question with our developers. Please find the team’s response below:

When the email is being sent, the email body is generated automatically. At this stage, there should be a hook available that can be used to add the protocol to the URLs.

In this case, we suggest contacting the PRO support team and asking them to review the issue and add the necessary customization via a hook.


Reply
Page 1 / 2
Share: