- Posts: 8
- Thank you received: 0
Kunena 7.0.4 Released
The Kunena team has announce the arrival of Kunena 7.0.4 [K 7.0.4] in stable which is now available for download as a native Joomla extension for J! 5.4.x/6.0.x. This version addresses most of the issues that were discovered in K 6.2 / K 6.3 / K 6.4 and issues discovered during the last development stages of K 7.0
Topics that are moved into this category are generally considered to be closed. Users may want to add additional information but these topics should not be resurrected in order to discuss new problems or unrelated matters.
Question [Solved by hack] JoomGallery IMG tags don't work in Kunena
- radekgorski
-
Topic Author
- Offline
- New Member
-
Less
More
16 years 2 months ago - 16 years 1 month ago #40414
by radekgorski
Hi all,
I have some problem with inserting images into Kunena posts.
It doesn't interpret the bb code correctly, my code looks like (comes from Joom::Gallery):
[IMG] advpoland.com/index.php?view=image&forma...oomgallery&Itemid=54 [IMG]
and as you see there is only code/text, not image visible.
Can anyone help to solve this?
Regards,
Radek
I have some problem with inserting images into Kunena posts.
It doesn't interpret the bb code correctly, my code looks like (comes from Joom::Gallery):
[IMG] advpoland.com/index.php?view=image&forma...oomgallery&Itemid=54 [IMG]
and as you see there is only code/text, not image visible.
Can anyone help to solve this?
Regards,
Radek
Last edit: 16 years 1 month ago by sozzled. Reason: Topic closed
Please Log in or Create an account to join the conversation.
16 years 2 months ago #40418
by xillibit
I don't provide support by PM, because this can be useful for someone else.
Replied by xillibit on topic Re:IMG TAG problem (Kunena 1.5.6)
Hello,
This is an image url not convnetional, an image url which will be parse correctly is :
www.kunena.com/components/com_kunena/tem...ages/kunena.logo.png
I don't know joomgallery, maybe there is a way to generate other kind of urls.
This is an image url not convnetional, an image url which will be parse correctly is :
www.kunena.com/components/com_kunena/tem...ages/kunena.logo.png
I don't know joomgallery, maybe there is a way to generate other kind of urls.
I don't provide support by PM, because this can be useful for someone else.
Please Log in or Create an account to join the conversation.
- LittleJohn
-
- Offline
- Kunena Contributor
-
16 years 2 months ago - 16 years 2 months ago #40467
by LittleJohn
Replied by LittleJohn on topic Re:IMG TAG problem (Kunena 1.5.6)
I think this is a direct bug. (edit; even though its a security measure)
There are PLENTY of galleries and sites out there, that serves images by url parameters through scripts. :S (and there are plenty of reasons to do so)
We cant dictate how the url should be on every image on the web.
radekgorski,
[strike]Have you tried cutting down your image url to see which part makes the trouble?[/strike]
Have you tried if the url is working on other forums that supports bb-code? (if so, which?)
Edit; A whitelist pattern, as someone kindly suggested, would deal with some of these issues, but lets see if its doable first...
There are PLENTY of galleries and sites out there, that serves images by url parameters through scripts. :S (and there are plenty of reasons to do so)
We cant dictate how the url should be on every image on the web.
radekgorski,
[strike]Have you tried cutting down your image url to see which part makes the trouble?[/strike]
Have you tried if the url is working on other forums that supports bb-code? (if so, which?)
Edit; A whitelist pattern, as someone kindly suggested, would deal with some of these issues, but lets see if its doable first...
Last edit: 16 years 2 months ago by LittleJohn.
Please Log in or Create an account to join the conversation.
16 years 2 months ago - 16 years 2 months ago #40486
by sozzled
Blue Eagle vs. Crypsis reference guide
Read my blog and
Replied by sozzled on topic JoomGallery IMG tags don't work in Kunena.
I use JoomGallery (
www.en.joomgallery.net/
). The Joomgallery IMG tags do not work in Kunena.
You can't display JoomGallery images in the forum because they are built on-the-fly with PHP. You can, however, post a link to your gallery, like this:
Here's the picture!
You can't display JoomGallery images in the forum because they are built on-the-fly with PHP. You can, however, post a link to your gallery, like this:
Code:
[URL]http://advpoland.com/index.php?option=com_joomgallery&view=detail&id=1479&Itemid=54#joomimg[/URL]
Blue Eagle vs. Crypsis reference guide
Read my blog and
Last edit: 16 years 2 months ago by sozzled.
Please Log in or Create an account to join the conversation.
16 years 2 months ago #40534
by fxstein
We love stars on the Joomla Extension Directory .
Replied by fxstein on topic Re:JoomGallery IMG tags don't work in Kunena.
Gentlemen,
You are hitting a security barrier we have built into kunena.
The problem is that all browsers will perform a GET request on any URL placed inside of html < img > tags (ad therefor coming from [ img ] tags).
In the case of a gallery this is the right thing to do, unfortunately hackers around the globe have learned to misuse this in various ways.
A very simple and none critical misuse would be to stick the url of the logout link into and [ img ] tag. Whenever somebody gets to look at that page, the logout would get executed. Now a logout is nothing extremely ugly, but you get the point, you can do a lot of other things.
Therefore Kunena performs a security check if the [ img ] tag truly contains an image file by looking at file name and extension.
We are discussion on how to provide an override feature that would allow you to whitelist certain urls or domains.
You are hitting a security barrier we have built into kunena.
The problem is that all browsers will perform a GET request on any URL placed inside of html < img > tags (ad therefor coming from [ img ] tags).
In the case of a gallery this is the right thing to do, unfortunately hackers around the globe have learned to misuse this in various ways.
A very simple and none critical misuse would be to stick the url of the logout link into and [ img ] tag. Whenever somebody gets to look at that page, the logout would get executed. Now a logout is nothing extremely ugly, but you get the point, you can do a lot of other things.
Therefore Kunena performs a security check if the [ img ] tag truly contains an image file by looking at file name and extension.
We are discussion on how to provide an override feature that would allow you to whitelist certain urls or domains.
We love stars on the Joomla Extension Directory .
Please Log in or Create an account to join the conversation.
- radekgorski
-
Topic Author
- Offline
- New Member
-
Less
More
- Posts: 8
- Thank you received: 0
16 years 2 months ago #40564
by radekgorski
Replied by radekgorski on topic Re:JoomGallery IMG tags don't work in Kunena.
sozzled wrote:
Take a look here, some solution (Joom::Gallery forum):
www.forum.en.joomgallery.net/index.php?topic=2586.0
Regards,
Radek
I know, I can post the link but I need pictures to be displayed.... however, post a link to your gallery, ...
Take a look here, some solution (Joom::Gallery forum):
www.forum.en.joomgallery.net/index.php?topic=2586.0
Regards,
Radek
Please Log in or Create an account to join the conversation.
Time to create page: 0.265 seconds