Titanium JIRA Archive
Titanium SDK/CLI (TIMOB)

[TIMOB-1581] iOS: Webviews do not honor # in the url

GitHub Issuen/a
TypeBug
PriorityTrivial
StatusClosed
ResolutionCannot Reproduce
Resolution Date2012-07-25T16:38:41.000+0000
Affected Version/sRelease 1.5.0
Fix Version/sn/a
ComponentsiOS
Labelsn/a
Reporterctredway
AssigneeNeeraj Gupta
Created2011-04-15T02:56:37.000+0000
Updated2012-07-26T22:22:43.000+0000

Description

When a pound sign is used in a web view URL, it gets URL encoded and causes the url to become invalid.

var objectToAdd = Titanium.UI.createWebView({

backgroundColor:bgColour,
url:'http://blah/info.php#test'

});

iphone sdk 4.0.1
Ti SDK 1.4.0 & 1.4.1

Comments

  1. Stephen Tramer 2012-07-25

    Cannot reproduce in SDK 2.2.0.f9e938d on iPhone Sim 5.1. Functional test:
       var win = Ti.UI.createWindow();
       var objectToAdd = Titanium.UI.createWebView({
       url:'http://en.wikipedia.org/wiki/Zombie#See_also'
       });
       win.add(objectToAdd);
       win.open();
       

JSON Source