Open angiehjort opened 4 years ago
investigation: ////
is illegal in bit.ly due to likely faulty implementation. jasper wrote them a letter
Nothing in the URI syntax RFC seems to point to this being invalid:
URI = scheme ":" hier-part [ "?" query ] [ "#" fragment ]
fragment = *( pchar / "/" / "?" )
pchar = unreserved / pct-encoded / sub-delims / ":" / "@"
unreserved = ALPHA / DIGIT / "-" / "." / "_" / "~"
pct-encoded = "%" HEXDIG HEXDIG
sub-delims = "!" / "$" / "&" / "'" / "(" / ")"
/ "*" / "+" / "," / ";" / "="
Sent bitly a DM on twitter (no other bug report feature found).
Shorturl.at and Rebrandly accept the url as valid, cutt.ly also thinks it's invalid. So ymmv, using a different encoding may be safer.
The long URL below fails to get converted with Bit.ly. I tried different other urls on the same page and they do work
https://www.gapminder.org/tools/#$state$time$value=2019;&marker$axis_x$zoomedMin:512.35&zoomedMax:112394.7;&axis_y$which=child_mortality_0_5_year_olds_dying_per_1000_born&domainMin:null&domainMax:null&zoomedMin:2&zoomedMax:460.97&scaleType=genericLog&spaceRef:null;&size$data=data_csv&which=Number%20of%20child%20deaths%20under%20age%205&domainMin:null&domainMax:null&spaceRef:null;&color$which=un_sdg_ldc&spaceRef=entities;;;&ui$chart$maxRadiusEm=0.12;;&data$reader=ddfbw&dataset=sg-master&translateContributionLink=https:////crowdin.com//project//systema-globalis&service=https:////big-waffle.gapminder.org;&data_wdi$reader=ddfbw&dataset=wdi-master&service=https:////big-waffle.gapminder.org;&data_fasttrack$reader=ddfbw&dataset=fasttrack&service=https:////big-waffle.gapminder.org;&data_csv$reader=google_csv&path=https:////docs.google.com//spreadsheets//d//1AzbgucEarYSj7gr1lDqiszaeAoRMTokis6K5H88sui8//edit#gid=1842829034&sheet=u5deaths;&chart-type=bubbles