Project

General

Profile

Actions

Bug #3600

closed

Bookmarks with "/" in Name Break Bookmarks Page

Added by Stephen Benjamin almost 11 years ago. Updated almost 11 years ago.

Status:
Duplicate
Priority:
Normal
Category:
Reporting
Target version:
-
Difficulty:
easy
Triaged:
Fixed in Releases:
Found in Releases:

Description

A bookmark created with a "/" breaks the bookmark page with a "No route matches."


Related issues 1 (0 open1 closed)

Is duplicate of Foreman - Bug #3516: Architectures etc: resources created/modified should not use multibyte names in URLsClosed10/25/2013Actions
Actions #1

Updated by Dominic Cleal almost 11 years ago

  • Is duplicate of Bug #3516: Architectures etc: resources created/modified should not use multibyte names in URLs added
Actions #2

Updated by Dominic Cleal almost 11 years ago

  • Status changed from New to Duplicate

Thanks, we're currently fixing this in #3516.

Actions #3

Updated by Stephen Benjamin almost 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>';

Actions #4

Updated by Stephen Benjamin almost 11 years ago

Ah ok, never mind then :-) Didn't see that bug.

Actions #5

Updated by Dominic Cleal almost 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

Also available in: Atom PDF