Actions
Bug #3600
closedBookmarks with "/" in Name Break Bookmarks Page
Description
A bookmark created with a "/" breaks the bookmark page with a "No route matches."
Updated by Dominic Cleal about 11 years ago
- Is duplicate of Bug #3516: Architectures etc: resources created/modified should not use multibyte names in URLs added
Updated by Dominic Cleal about 11 years ago
- Status changed from New to Duplicate
Thanks, we're currently fixing this in #3516.
Updated by Stephen Benjamin about 11 years ago
Pull request submitted that changes "/" to "_": https://github.com/theforeman/foreman/pull/1006
And here's the fix to delete the broken bookmark:
[root@gatebuilder ~]# su - postgres
-bash-4.1$ psql
psql (8.4.18)
Type "help" for help.
postgres=# \c foreman
psql (8.4.18)
You are now connected to database "foreman".
foreman=# delete from bookmarks where name = '<incorrect/name>';
Updated by Stephen Benjamin about 11 years ago
Ah ok, never mind then :-) Didn't see that bug.
Updated by Dominic Cleal about 11 years ago
No worries, thanks for the PR anyway! That bug covers a number of related issues, hopefully improving all of our resource identifiers to prevent these problems.
Actions