close ad
 
Important WebAssist Announcement
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues

rating

The databridge secure download does not work anymore since the last update

Thread began 1/07/2019 11:26 am by marcel303333 | Last modified 1/08/2019 12:49 pm by Ray Borduin | 724 views | 3 replies |

marcel303333

The databridge secure download does not work anymore since the last update

I use Databridge Download (File Manipulation / Download).

Since the last update I have a problem with the correct Filepath.

The path from the database for example /path/to/secure/ and the file file.pdf

From the error Message of File download I get the following path /path/to/secure//file.pdf (double slash)

Is this a known issue? I get this only on mysql_i...

Thanks for your help in advance

Sign in to reply to this post

Ray BorduinWebAssist

It may be encoding the slash. Try using:

WA_DFP_DownloadFile("WA_DownloadResult1", "/usr/home/vewade".($dl->getColumnVal("DateiPfad",false)) ."", "".($dl->getColumnVal("Dateiname",false)) ."", "".($dl->getColumnVal("Dateiname",false)) ."", false, false, false, "", "", "", "");

Sign in to reply to this post
Did this help? Tips are appreciated...

marcel303333

Thanks a lot Ray,

that did the trick.

Will there be an update of data bridge?

Sign in to reply to this post

Ray BorduinWebAssist

No, this is as designed.

The new version of databridge has built in Cross Site Scripting prevention for security. You have to manually disable it when you have html, javascript, or direct references to code in your column.

You can disable it globally by updating your rsobj.php file. You can disable it on the recordset level, or you can disable it in individual getColumnVal() references. The example I gave you disables it in the getColumnVal() method by appending the "false" parameter at the end.

I think it is best to have the Cross Site Scripting enabled by default, so people will have to get used to making the change in the code in one of the three locations in order to get around it when necessary.

Sign in to reply to this post
Did this help? Tips are appreciated...

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question

Content

rating

Layout

rating

Ease of use

rating

security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...