weavejester / compojure

A concise routing library for Ring/Clojure
Eclipse Public License 1.0
4.08k stars 259 forks source link

Use full request to check for canonical URI #214

Closed farbeiza closed 2 years ago

farbeiza commented 2 years ago

I needed this to keep the query string when redirecting to the canonical URI. Furthermore, I think it allows you to make more changes to the canonical URI, such as changing the host...

weavejester commented 2 years ago

It looks like this breaks backward compatibility. That's a no-go, unfortunately.

farbeiza commented 2 years ago

It looks like this breaks backward compatibility. That's a no-go, unfortunately.

True, makes sense. Thanks a lot, anyway.