You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If a string with +characters is supplied to represent a space then output will replace these with %20
Expressed in test form below
it('Uses + for spaces if part of supplied', function(){
var originalLink = 'http://www.example.com/example.html?var=a+b';
var u = new Uri( originalLink );
assert.equal( u.toString(), originalLink)
})
Use case: one of our uses for jsUri is to make a "prettified" compact version of user-supplied link by stripping out information extraneous to display such as ( but not limited to ) protocol. Re-encoding the space characters with a different symbol can be confusing.
The text was updated successfully, but these errors were encountered:
If a string with
+
characters is supplied to represent a space then output will replace these with%20
Expressed in test form below
Use case: one of our uses for jsUri is to make a "prettified" compact version of user-supplied link by stripping out information extraneous to display such as ( but not limited to ) protocol. Re-encoding the space characters with a different symbol can be confusing.
The text was updated successfully, but these errors were encountered: