Uploaded image for project: 'Service Packs and Hot Fixes'
  1. Service Packs and Hot Fixes
  2. MNT-6965

Upload via webdav for .erb files saves as mimetype html

    Details

      Description

      When uploading a .erb file via Share, the file is uploaded as 'binary octet'.

      When uploading via webdav, the file is uploaded with a mimetype of 'html'

      Test case:

      • Log in to Share
      • Upload 'test.html.erb'
      • View the document details
        preview - indicates can not be previewed
        document details - mimetype = 'Binary File (Octet Stream)'
        title is blank
        If you download the file and view it with a generic text editor, there are no modifications to original file
      • Access via WebDav
      • Upload 'test.html.erb'
      • Using Share, view the document details

      Expected results:

      • As above

      Observed results:
      preview - shows a blank page with a '>' on it
      document details - mimetype = 'html'
      title= %=@test.baz%> (note this is the value in the title tag in the original erd file)
      If you download the file and open it with a text editor, the file has been modified and a number of items stripped from the file

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedbugs Closed Bugs (Inactive)
                  Reporter:
                  jsoria Jennie Soria [X] (Inactive)
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  8 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:

                    Time Tracking

                    Estimated:
                    Original Estimate - Not Specified
                    Not Specified
                    Remaining:
                    Remaining Estimate - 0 minutes
                    0m
                    Logged:
                    Time Spent - 2 days, 1 hour, 30 minutes
                    2d 1h 30m

                      Structure Helper Panel