You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The download button link ends with filename.pdf and cake strips .pdf because CakePDF plugin in routes.php have Router::setExtensions(array('pdf'));
To fix this you could append "/" or "/something" at the end of the url then extension will not be stript or use some other magic.
I did install Brownie and CakePDF.
When i upload a pdf file using Brownie, everything works fine.
View opens file. But download button link ends with file name.pdf and cake strips .pdf because CakePDF in routes.php have Router::setExtensions(array('pdf'));
The text was updated successfully, but these errors were encountered:
The download button link ends with filename.pdf and cake strips .pdf because CakePDF plugin in routes.php have Router::setExtensions(array('pdf'));
To fix this you could append "/" or "/something" at the end of the url then extension will not be stript or use some other magic.
I did install Brownie and CakePDF.
When i upload a pdf file using Brownie, everything works fine.
View opens file. But download button link ends with file name.pdf and cake strips .pdf because CakePDF in routes.php have Router::setExtensions(array('pdf'));
The text was updated successfully, but these errors were encountered: