Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

Problem with Display Resource that have Primary KEY varchar(255) #6186

Closed
emkcloud opened this issue Feb 8, 2024 · 0 comments
Closed

Problem with Display Resource that have Primary KEY varchar(255) #6186

emkcloud opened this issue Feb 8, 2024 · 0 comments

Comments

@emkcloud
Copy link

emkcloud commented Feb 8, 2024

  • Laravel Version: 10.43.0
  • Nova Version: 4.32.11
  • PHP Version: 8.2.15
  • Database Driver & Version: MySQL 8.0
  • Operating System and Version: Ubunut 22.04 LTS
  • Browser type and version: ALL

Description:

I created a resource on Laravel's standard cache database by creating a LaravelCache model with a primary key of varchar(255). When the key contains a "/", the detail view page gives me a 404 error. I think an escape should be performed.

Here is the resource created in Laravel Nova.

image

When I view the details of the resource, the key is included in the URL; in this case, it works because the cache key does not use a slash.

image

If the key contains special characters, Laravel Nova gives me a 404 error.

image

@crynobone crynobone added bug Verified bug by the Nova team and removed bug Verified bug by the Nova team labels Feb 12, 2024
@laravel laravel locked and limited conversation to collaborators Feb 14, 2024
@crynobone crynobone converted this issue into discussion #6200 Feb 14, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants