| Project: | Link |
| Version: | 7.x-1.1 |
| Component: | Code |
| Category: | bug report |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Issue Summary
Background Info
On the backend, I have a node type called "Burst" with a custom field to store a URL (provided by the Link module, of course).
On the frontend, I want to take the URL the user entered in that custom field and link to it.
My needs are simple so I went to "Manage display" for the "Burst" content type ( found at /admin/structure/types/manage/burst/display ) and made the field visible. Additionally, I set the format to "Title, as link (default)"
Encountered problem
Thus far, everything has been working well with each "Burst" content linking to the stored URL. However, in one instance, I found it butchering the URL as follows:
User input URL stored by the custom field:
http://irinawerning.com/index.php?/back-to-the-fut/back-to-the-future/
The URL on the frontend:
http://irinawerning.com/index.php?%2Fback-to-the-fut%2Fback-to-the-futur...
I only caught this problem when I was browsing and clicking around. Clicking the link on the frontend for this particular case takes me to a blank page. At first, I thought the stored URL was wrong but that's not the case. Looking at the HTML source code, I get the above different URL. The forward slashes "/" are changed to "%2F" rendering the link wrong. (uh... not working)
I am by no means knowledgeable in this area and I am taking a stab in the air but this seems somewhat related to URL encoding issues. That's my best guess.
Either way, please help.