Export to GitHub

bitly-api - issue #8

If bit.ly api is used to shorten a url, it automatically appends a "slash" ( / ) in the end of the url.


Posted on Aug 8, 2009 by Happy Monkey

What steps will reproduce the problem? 1. Use bit.ly api to shorten http://www.google.com 2. Take the shortened url and see the info with http://shorturl+ 3. You will see the long link shown as "http://www.google.com/

What is the expected output? What do you see instead? The short url should be generated for exactly the same URL as giving in the api request.

What version of the product are you using? On what operating system? I'm using the shorten url api.

Please provide any additional information below.

Comment #1

Posted on Oct 18, 2009 by Happy Horse

In the case where the uri shortened only includes the domain, it is valid (and expected) for a slash to be entered to make it contain a valid path (ie: '/' is the path)

In the case where there is an existing path (say /path/to/somewhere) no trailing slash is automatically entered

Status: Invalid

Labels:
Type-Defect Priority-Medium