thorsten/phpMyFAQ — Issue #358: attachment (images) with wrong url
Author: vangual
Created: 2011-11-29 07:23:16+00:00
State: open

We can successfully upload attachments (pictures) to the myFAQ installation but as soon as we try to add the uploaded picture in an FAQ entry text the following happens:
In the Dialog "Bild einfügen/bearbeiten", Section "Allgemein", Field "Adresse". Click on the "Durchsuchen"-Button. Picture gets selected. Link is automatically filled in but in a wrong way:
1) Generated Link does not contain the httpS:// prefix, just a http:// one.
2) Generated Link contains parts of the filesystem path:
Example:
http://correct.hostname.here/var/www/our_faq/images/Lightning.png
When we manually correct the link in the editbox to the following the picture works:
https://correct.hostname.here/our_faq/images/Lightning.png