[OpenLayers-Trac] Re: [OpenLayers] #3478: Missing slash in location.pathname under Internet Explorer 10

OpenLayers trac-20090302 at openlayers.org
Tue Aug 30 23:51:51 EDT 2011


#3478: Missing slash in location.pathname under Internet Explorer 10
---------------------+------------------------------------------------------
  Reporter:  vog     |       Owner:                                     
      Type:  bug     |      Status:  reopened                           
  Priority:  major   |   Milestone:  2.11 Release                       
 Component:  Util    |     Version:  2.11 RC3                           
Resolution:          |    Keywords:  ie10 internet explorer 10 slash url
     State:  Review  |  
---------------------+------------------------------------------------------
Changes (by vog):

  * status:  closed => reopened
  * resolution:  wontfix =>


Comment:

 I'm a bit confused because I just finished what you began. This method
 already contains that workaround, at line 1510:

 {{{
 urlObject.pathname = (a.pathname.charAt(0) == "/") ? a.pathname : "/" +
 a.pathname;
 }}}

 This workaround is just incomplete (because it needs to happen at two
 places). So if you really don't want it, you should remove it from that
 place, too:

 {{{
 urlObject.pathname = a.pathname;
 }}}

 The current situation is the worst of all: The workaround seems to be
 there, but won't work in all cases.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/3478#comment:3>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list