artsy / positron

Positron is Artsy Writer or the editorial tool and API for Artsy.
MIT License
85 stars 40 forks source link

chore: fixes artsy urls with capitalized letters causing redirects #2917

Closed ashleyjelks closed 3 years ago

ashleyjelks commented 3 years ago

Adds an additional check to the sanitize urls function to clean up redirects caused by capitalized letters in Artsy urls.

cc @artsy/purchase-devs

e.g. Before: https://artsy.net/DutchPavilion After: https://artsy.net/dutchpavilion

codecov[bot] commented 3 years ago

Codecov Report

Merging #2917 (08dc9b6) into master (09aa788) will increase coverage by 0.0%. The diff coverage is 100.0%.

@@          Coverage Diff           @@
##           master   #2917   +/-   ##
======================================
  Coverage    83.4%   83.4%           
======================================
  Files         195     195           
  Lines        5398    5400    +2     
  Branches      998     998           
======================================
+ Hits         4505    4507    +2     
  Misses        638     638           
  Partials      255     255