| Anonymous | Login | Signup for a new account | 2013-05-23 14:04 PDT | ![]() |
| Main | My View | View Issues | Change Log | Repositories |
| View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||
| ID | Project | Category | View Status | Date Submitted | Last Update | |
| 0000431 | Friendica | unknown/other | public | 2012-05-22 16:03 | 2012-12-21 14:32 | |
| Reporter | Domovoy | |||||
| Assigned To | jcsesecuneta | |||||
| Priority | normal | Severity | minor | Reproducibility | always | |
| Status | closed | Resolution | fixed | |||
| Platform | web | OS | linux/unix | OS Version | any | |
| Product Version | ||||||
| Fixed in Version | ||||||
| Summary | 0000431: img tag does not work with https url | |||||
| Description | When posting, [img=492x272]http://social.errlock.org/photo/8db7b9da7dced306bc083938e60dfb26-0.jpg[/img] [^] works fine, but [img=492x272]https://social.errlock.org/photo/8db7b9da7dced306bc083938e60dfb26-0.jpg[/img] [^] just displays the url as text. | |||||
| Steps To Reproduce | Post an image located at an https:// address. | |||||
| Additional Information | This is the only image i tested, so this would need to be checked. | |||||
| Tags | No tags attached. | |||||
| Attached Files | ||||||
Relationships |
||||||
|
||||||
Notes |
|
|
(0000644) macgirvin (administrator) 2012-05-22 16:20 |
Both work for me in a test post - locally and across sites. |
|
(0000645) Domovoy (reporter) 2012-05-22 21:54 |
Hmmm, so what's happening to me? |
|
(0000646) Domovoy (reporter) 2012-05-22 22:15 |
If i disable the privacy image cache extensions, everything works fine |
|
(0000647) macgirvin (administrator) 2012-05-22 22:36 |
I just patched privacy_image_cache "local detection" so as not to be sensitive to http vs https |
|
(0000648) Domovoy (reporter) 2012-05-23 09:16 |
Hmmm, i just updated from git, didn't change anything. |
|
(0000649) Domovoy (reporter) 2012-05-23 09:17 |
Actually, something changed, it doesn't work for http either now :) In bot case i just get the url displayed as text. |
|
(0000650) Domovoy (reporter) 2012-05-23 09:43 |
I think the problem is on line 75 of privacy_image_cache.php It returns the image url there, but if it is not a local image, it returns an <img> tag. The line should be: if (privacy_image_cache_is_local_image($matches[2])) return $matches[1] . $matches[2] . $matches[3]; |
|
(0000651) macgirvin (administrator) 2012-05-23 15:45 |
That looks correct to me also. Changed as requested. |
|
(0000652) Domovoy (reporter) 2012-05-23 21:55 |
Everything is good now. Thanks. You can close this issue |
|
(0000665) jcsesecuneta (developer) 2012-05-27 18:39 |
3.0.1355 - Privacy image cache bugs fixed - local images over https now work properly. https://kakste.com/display/bouldrake/576322 [^] |
Issue History |
|||
| Date Modified | Username | Field | Change |
| 2012-05-22 16:03 | Domovoy | New Issue | |
| 2012-05-22 16:20 | macgirvin | Note Added: 0000644 | |
| 2012-05-22 21:54 | Domovoy | Note Added: 0000645 | |
| 2012-05-22 22:15 | Domovoy | Note Added: 0000646 | |
| 2012-05-22 22:36 | macgirvin | Note Added: 0000647 | |
| 2012-05-23 09:16 | Domovoy | Note Added: 0000648 | |
| 2012-05-23 09:17 | Domovoy | Note Added: 0000649 | |
| 2012-05-23 09:43 | Domovoy | Note Added: 0000650 | |
| 2012-05-23 15:45 | macgirvin | Note Added: 0000651 | |
| 2012-05-23 21:55 | Domovoy | Note Added: 0000652 | |
| 2012-05-27 18:39 | jcsesecuneta | Note Added: 0000665 | |
| 2012-05-27 18:39 | jcsesecuneta | Relationship added | duplicate of 0000398 |
| 2012-05-27 18:39 | jcsesecuneta | Status | new => resolved |
| 2012-05-27 18:39 | jcsesecuneta | Resolution | open => fixed |
| 2012-05-27 18:39 | jcsesecuneta | Assigned To | => jcsesecuneta |
| 2012-12-21 14:32 | macgirvin | Status | resolved => closed |
| Copyright © 2000 - 2010 MantisBT Group |