in zotero/xpcom/attachments.js
  - removed outdated function declaration from beginning of script
  - in function cleanAttachmentURI
      - altered regex to be more lenient
      - altered comments to reflect the process
      - changed variable names to better reflect the use
      - added a step to return the uri if it has something resembling a protocol is present
  - in function linkFromURL, removed the regex constraints and the comment list of valid protocols

in zotero/zoteroPane.js
  - corrected a few nits
  - in function addAttachmentFromURI, removed trim() as it is contained within the cleanAttachmentURI function
  - decreased length of line 3050 by initiating a new break in the variable resubmit declaration