Skip to content
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

ENH Allow URLs without trailing slashes #1319

Merged

Conversation

GuySartorelli
Copy link
Member

@GuySartorelli GuySartorelli commented Jan 12, 2023

silverstripe/silverstripe-framework#10538 allows us to have a URLs which can be configured to have or omit trailing slashes. This PR updates the asset-admin javascript to stop explicitly expecting one to be/not be there.

Note that this PR will need to be modified once silverstripe/webpack-config#57 has been merged and released in NPM.

Parent issue

@GuySartorelli
Copy link
Member Author

webpack-config changes are now included in this PR.

@GuySartorelli
Copy link
Member Author

Rebased to resolve conflicts

@GuySartorelli GuySartorelli force-pushed the pulls/2/no-trailing-slash branch from 58b77cd to 447beaa Compare January 20, 2023 02:16
@GuySartorelli GuySartorelli marked this pull request as ready for review January 20, 2023 02:17
@GuySartorelli
Copy link
Member Author

Failing JS tests are going to be dealt with in silverstripe/silverstripe-admin#1421

@GuySartorelli GuySartorelli merged commit cfd8c23 into silverstripe:2 Jan 20, 2023
@GuySartorelli GuySartorelli deleted the pulls/2/no-trailing-slash branch January 20, 2023 02:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants