zikula-modules / Clip

Flexible Document Creator
35 stars 8 forks source link

Google Chrome and pubdata download field #128

Closed mazdev closed 12 years ago

mazdev commented 12 years ago

Using Clip 0.9.2, and a pubdata download field. By Mozilla it works fine, by using Google Chrome I receive this error message:

 {"core":{"statusmsg":["Security token validation failed"]},"data":null} 
matheo commented 12 years ago

Looks like a cache issue, as the clip_downloadurl generated link includes a token if it's cached by the browser the link gets deprecated.

This needs a pragma "no-cache" HTML meta tag for the display pages, or use the $pubdata.file.url instead the clip_downloadurl call.

matheo commented 12 years ago

I will remove the security token from this request and leave the publication permission check only.

mazdev commented 12 years ago

Actually the no-cache works fine. But thanks anyway.

matheo commented 12 years ago

It was kinda too much to add the token there anyways ;)