Prevent MS Outlook from opening if @ appears

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • Kubatko
    New Member
    • Nov 2009
    • 6

    Prevent MS Outlook from opening if @ appears

    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 Files
  • Dormilich
    Recognized Expert Expert
    • Aug 2008
    • 8694

    #2
    how do you try to open/download the files, via link, form, …?

    Comment

    • Kubatko
      New Member
      • Nov 2009
      • 6

      #3
      Hello, thanks for your reply, it is a link.

      Comment

      • Dormilich
        Recognized Expert Expert
        • Aug 2008
        • 8694

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

        Comment

        Working...