1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Not a Bug Pasting Images Into Editor On Subdomain

Discussion in 'Resolved Bug Reports' started by digitalpoint, Oct 14, 2013.

  1. digitalpoint

    digitalpoint Well-Known Member

  2. Mike

    Mike XenForo Developer Staff Member

    The URL comes from the uploader's data-action attribute, which is actually a "full" URL by default. Pasting actually does have canonicalization with the ajaxBaseHref, but the URL is likely canonical already.

    Does that mean that a "full" URL in your setup generates a URL that points to a different sub-domain?
  3. digitalpoint

    digitalpoint Well-Known Member

    Ah... okay, not a bug then. Yeah, data-action is set to the main sub-domain, but strange normal uploads work set up like that (I guess maybe Flash doesn't have to adhere to cross-domain same-origin policies or something?).

    I specified the right sub-domain in data-action, but pretty strange it worked in all ways except the copy/paste method of uploading images.
  4. Mike

    Mike XenForo Developer Staff Member

    I believe you are right that Flash doesn't have the CORS limitations of AJAX.

Share This Page