By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
459,528 Members | 1,338 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 459,528 IT Pros & Developers. It's quick & easy.

Prevent MS Outlook from opening if @ appears

P: 6
Hello,

I am working on an application where there are stored documents, the user can download them if he clicks on the document name in the grid.

The problem is when there is an @ character in the name of the document it immediatelly opens an outlook and does not start the downloading process.

Is there any way how to block outlook in this case?

Please see the attachement for better understanding of the problem.

Thank you

Jakub
Attached Images
File Type: jpg atcharacter.jpg (9.3 KB, 111 views)
Nov 15 '11 #1

✓ answered by Dormilich

then you need to URL encode the filename in the link. (e.g. in PHP you’d use urlencode(), in JS encodeURIComponent(), etc.)

Share this Question
Share on Google+
3 Replies


Dormilich
Expert Mod 5K+
P: 8,639
how do you try to open/download the files, via link, form, ?
Nov 15 '11 #2

P: 6
Hello, thanks for your reply, it is a link.
Nov 15 '11 #3

Dormilich
Expert Mod 5K+
P: 8,639
then you need to URL encode the filename in the link. (e.g. in PHP you’d use urlencode(), in JS encodeURIComponent(), etc.)
Nov 15 '11 #4

Post your reply

Sign in to post your reply or Sign up for a free account.