Skip to content

Extend Multiple @PathVariable Selection to allow delimeters other than / [SPR-5630] #10301

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Mar 29, 2009 · 1 comment
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

spring-projects-issues commented Mar 29, 2009

Scott Murphy opened SPR-5630 and commented

Currently this is not possible:

@RequestMapping("{param1}-{param2}-{param3}")

but this is:
@RequestMapping("{param1}/{param2}/{param3}")

Please provide a mechanism for doing the preceding because for SEO purposes the more /'s in your URL, the more your ranking is punished.

Considering a parameter could contain a -, providing a regular expression for parameter selection could be more powerful then just specifying a delimiter.


Affects: 3.0 M2

Issue Links:

@spring-projects-issues
Copy link
Collaborator Author

spring-projects-issues commented Mar 31, 2009

Arjen Poutsma commented

This should already be fixed in SVN, as a side effect of fixing #10208. Can you try a recent snapshot and see if it works?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) type: enhancement A general enhancement
Projects
None yet
Development

No branches or pull requests

2 participants