0 Replies Latest reply on Apr 2, 2009 10:21 AM by (Darrell_Loverin)

    [svn:fx-3.x] 5880: Fix loading RSLs when the rootURL contains a search string with "/" characters.

    Level 1
      Revision: 5880
      Author: dloverin@adobe.com
      Date: 2009-04-02 11:21:55 -0700 (Thu, 02 Apr 2009)

      Log Message:
      -----------
      Fix loading RSLs when the rootURL contains a search string with "/" characters.

      SWFLoader.as
      Use LoaderUtil.createAbsoluteURL(). Does the same thing as the old code did plus it strips off search strings and url fragments.


      LoaderUtil.as

      normalizeURL:
      Normalize urls from import loaded SWFs. Allows SWFLoader to load images relative to an import loaded SWF.

      createAbsoluteURL:
      Strips a search string from the url because it may contain ?\226?\128?\156/?\226?\128?\157 characters. The ?\226?\128?\156/?\226?\128?\157 characters in the search string caused the url to be put in the search search instead of at the end of the rootURL.

      QE Notes: None
      Doc Notes: None
      Bugs: SDK-19387
      Reviewer: Alex
      tests: checkintests, SWFLoader mustella tests

      Ticket Links:
      ------------
      http://bugs.adobe.com/jira/browse/SDK-19387

      Modified Paths:
      --------------
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/controls/SWFLoader.as
      flex/sdk/branches/3.x/frameworks/projects/framework/src/mx/utils/LoaderUtil.as