Jump to content

Edit History

darkmanx07

darkmanx07

Hello,

 

I'm having some problems with product attachment on IOS, i can't open or download pdf in IOS with safari (didn't checked for other browser), for android or desktop browser it's working with no issue.

I noticed that if i deactivate SSL then the link will open on iphone, but that's not a solution.

Link it's like: index.php?controller=attachment&id_attachment=xxx.

I have changed AttachmentController.php so now pdf will open in a new tab instead of download but w/o any result on iphone.  

I tried few .htaccess rules but w/o succes for example:

<FilesMatch "\.(pdf|csv|xls)">
  Header set Content-Disposition attachment
</FilesMatch>

Prestashop version is 1.6.1.7

Any help or tips will be greatly appreciated.

I'm using an IOS emulator but i have tried a real phone and i get the same results, just that i don't own one.

Thanks. 

 

123.png

darkmanx07

darkmanx07

Hello,

 

I'm having some problems with product attachment on IOS, i can't open or download pdf in IOS with safari (didn't checked for other browser), for android or desktop browser it's working with no issue.

I noticed that if i deactivate SSL then the link will open on iphone, but that's not a solution.

Link it's like: index.php?controller=attachment&id_attachment=xxx.

I have changed AttachmentController.php so now pdf will open in a new tab instead of download but w/o any result on iphone.  

I tried few .htaccess rules but w/o succes for example:

<FilesMatch "\.(pdf|csv|xls)">
  Header set Content-Disposition attachment
</FilesMatch>

Prestashop version is 1.6.1.7

Any help or tips will be greatly appreciated.

Thanks. 

123.png

darkmanx07

darkmanx07

Hello,

 

I'm having some problems with product attachment on IOS, i can't open or download pdf in safari (didn't checked for other browser), for android or desktop browser it's working with no issue.

I noticed that if i deactivate SSL then the link will open on iphone, but that's not a solution.

Link it's like: index.php?controller=attachment&id_attachment=xxx.

I have changed AttachmentController.php so now pdf will open in a new tab instead of download but w/o any result on iphone.  

I tried few .htaccess rules but w/o succes for example:

<FilesMatch "\.(pdf|csv|xls)">
  Header set Content-Disposition attachment
</FilesMatch>

Prestashop version is 1.6.1.7

Any help or tips will be greatly appreciated.

Thanks. 

123.png

×
×
  • Create New...