User tests: Successful: Unsuccessful:
Removed all $baserurl
from image src
.
Shop 1
.Image Url
in field image
via media manager. (something like http://example.org/someimage.jpg
)Book Store
.banner
.Image URL
that nothing has changed and internal image is displayed, too.Status | New | ⇒ | Pending |
Category | ⇒ | Modules Front End |
I have tested this item
Status | Pending | ⇒ | Ready to Commit |
RTC after two successful tests.
I think it is saver to check if image url starts with http and than not add the base url
Go into an article, click TinyMCE image button. Enter bload://pumps.jpg
as URL. Click insert.
Nothing is checking if its http or whatever.
Try the same with Intro Image...
Check the result in FE.
<img src="bload://pumps.jpg" alt="">
So why should I code now in this PR a check for the protocol? Do we really need restrictions like that for the users? If they don't see the image in FE I think they know that they did something wrong.
The reason for my suggestion is b/c, whatever we change we should always try to implement it in a way that it is as close as possible to the past behaviour.
My change is fully B\C. Nothing changes for internal URLs. As I said it's the same bahavior like anywhere in Joomla. The consequence of what you say is that Joomla is unsafe at several places. The media manager is unsafe? So, the issue should be fixed there.
The typical way for banner placement is. You get an affiliate link and an external image link. It must be possible to paste both in the banner item without any further efforts like downloading images.
Close here if you think that I really opened a security issue.
it is my job to better save than sorry, btw. I haven't said something about security
Labels |
Added:
?
|
Status | Ready to Commit | ⇒ | Fixed in Code Base |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-06-20 09:09:17 |
Closed_By | ⇒ | rdeutz |
I have tested this item✅ successfully on 83cc1bf
This comment was created with the J!Tracker Application at issues.joomla.org/tracker/joomla-cms/16440.