Author |
Message |
alien73
Involved


Joined: Sep 15, 2008
Posts: 352
|
Posted:
Wed Oct 14, 2009 4:45 pm |
|
This is not a bug or a high issue just a good practice when using images.
Some folks like me use SSL https:// and without the forward slash with images https will throw an error saying there's unsecure data on the page. Not good when running a online business, collecting credit card data etc...
For someone who doesn't know about this will just leave the page thinking the page is not secure. Oh yes... it happens.....
should be
|
|
|
|
 |
montego
Site Admin

Joined: Aug 29, 2004
Posts: 9457
Location: Arizona
|
Posted:
Wed Oct 14, 2009 7:27 pm |
|
Problem is that some folks put RN into sub-directories and so the root isn't really what you would expect. I hear you though. I just don't think we can do exactly as you have suggested is all... but the alternative could get ugly.
BTW, we have never claimed to support the HTTPS protocol, but we had probably put it on our roadmap, especially now that there is looking to be a eCommerce solution around the corner which supports RN! |
_________________ Only registered users can see links on this board! Get registered or login!
Only registered users can see links on this board! Get registered or login! |
|
|
 |
alien73

|
Posted:
Wed Oct 14, 2009 7:47 pm |
|
Sub-directories wouldn't matter it would still be the same just another folder in the path, but I do see what your saying. If they put it in a subfolder they would have to change all the images or code in another method.
before
subdir/images/testimage.jpg
after
/subdir/images/testimage.jpg
It's really the standard thing to do but if your not using https:// you wouldn't notice. I do realize Raven Nuke(tm) is not yet SSL friendly. |
|
|
|
 |
montego

|
Posted:
Wed Oct 14, 2009 8:04 pm |
|
Then we have to know what subdirectory they have placed RN in as we don't know that when we're coding an image href...  |
|
|
|
 |
bdmdesign
Worker


Joined: May 11, 2009
Posts: 154
Location: Winsen/Luhe; Germany
|
Posted:
Wed Oct 14, 2009 8:05 pm |
|
alien73 wrote: | Sub-directories wouldn't matter it would still be the same just another folder in the path, but I do see what your saying. If they put it in a subfolder they would have to change all the images or code in another method.
before
subdir/images/testimage.jpg
after
/subdir/images/testimage.jpg
It's really the standard thing to do but if your not using https:// you wouldn't notice. I do realize Raven Nuke(tm) is not yet SSL friendly. |
Thats works ,too:
../subdir/images/testimage.jpg
Best Regards
Peter |
_________________ CMS-Version: pragmaMx 1.12.3.1.33.4.14 :: PHP-Version: 5.3.14 :: MySQL-Version: 5.5.23-log :: Server-Version: Apache/2.2.21 (Linux/SUSE)
Projekt: osc4pragmaMx- 2.3.2 in development |
|
|
 |
alien73

|
Posted:
Wed Oct 14, 2009 9:29 pm |
|
Php has functions that will make it work without reading minds  |
|
|
|
 |
Raven
Site Admin/Owner

Joined: Aug 27, 2002
Posts: 17088
|
Posted:
Wed Oct 14, 2009 11:34 pm |
|
Alien73 wrote: | Some folks like me use SSL https:// and without the forward slash with images https will throw an error saying there's unsecure data on the page. Not good when running a online business, collecting credit card data etc... |
Slash or no slash, that is not the issue. All the rules of paths for http:// and https:// are the same. Somewhere in your code is an http:// link reference when it should be https:// |
|
|
|
 |
bdmdesign

|
Posted:
Thu Oct 15, 2009 4:53 am |
|
|
|
 |
alien73

|
Posted:
Thu Oct 15, 2009 6:59 am |
|
I'm speaking of image paths missing the forward slash. LOL...
The image paths "CODED IN A PAGE" are not written out as full urls but could be. In this case there wouldn't be a problem.
Code:<img src="https://www.test.com/images/testimage.jpg">
|
but like this
Code:<img src="images/testimage.jpg">
|
When a https:// page loads and the image doesn't have the forward slash and it throws and error in some browsers telling the user there's unsecure data on the page. "Yes: You can turn this off in the browser"
Or when you have a image link starting with http:// on Paypal or any https:// page it will show an error. I used IE for the example..
 |
|
|
|
 |
Raven

|
Posted:
Thu Oct 15, 2009 9:06 am |
|
Brian, the fact that your site works (or not) like that is a coincidence. The paths can be relative and/or absolute. It is not the job of the CMS or any application to redefine the links. As I said above I believe you are missing and https:// somewhere, ie, you have an image that your script needs https:// but it still has http:// . |
|
|
|
 |
alien73

|
Posted:
Thu Oct 15, 2009 9:55 am |
|
As you know Alien Cart(tm) will use SSL so I'm trying to sort this out since it will work with Raven Nuke(tm). No pun intended..
 |
|
|
|
 |
|