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
Everything works, except that putting integer directly in the path still returns corresponding result.
For example, Integer 1 was encoded into String geGprexD, both http://localhost:8080/1 and http://localhost:8080/geGprexD return the same result. How to permit only http://localhost:8080/geGprexD, and make http://localhost:8080/1 throw an exception?
The text was updated successfully, but these errors were encountered:
Hello,
I was trying to use hashids-spring-boot-starter in a project in order to hide auto increment id from clients.
Everything works, except that putting integer directly in the path still returns corresponding result.
For example, Integer
1
was encoded into StringgeGprexD
, bothhttp://localhost:8080/1
andhttp://localhost:8080/geGprexD
return the same result. How to permit onlyhttp://localhost:8080/geGprexD
, and makehttp://localhost:8080/1
throw an exception?The text was updated successfully, but these errors were encountered: