Needs work
Project:
Views (for Drupal 7)
Version:
7.x-3.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
24 May 2012 at 18:47 UTC
Updated:
29 Oct 2012 at 14:18 UTC
Jump to comment: Most recent file
I discovered this issue while working on a jump menu that launches applications such as Oracle applications. The jump menu converts the links that have a secondary colon (ASCII character) in it to an HTML equivalent (i.e., url ending in 102:1 is converted to url ending in 102%3A1). This is a problem.
I don't know how to write patches but here is my recommendation to 7.x-3.3.
After line 113: $path = url($url_options['path'], $url_options);
Add line and write on line 114 : $path=htmlspecialchars(strip_tags(urldecode($path)));
I tested this and it works.
E.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | Jump-Menu-converts-ASCII-codes-into-HTML-1599200.patch | 687 bytes | erok415 |
Comments
Comment #1
erok415 commentedSorry to not mention which file to apply this to.
Apply to /plugins/views_plugin_style_jump_menu.inc
Comment #2
erok415 commentedI created a patch that seems to fix the issue.
Comment #3
dawehnerDrupal uses spaces instead of tabs ...
If we change something here we might have to change this in style_jump_menu_summary as well. Can't we use similar code then below?
Comment #4
akshita commentedcan anyone got this resolved? if so please help.
I am on drupal 7. on one of my Jobpostings nodes I have a field to enter the URL but when entered the URL (APEX URL Format)
I am getting the error : The value in Link is not a valid url.
URL : http://j2eetest:7782/pls/apex/f?p=136:10:0::NO::P10_LGR_JOB_ID,P10_POSITIONTYPE,P10_LGR_WRITING_TST_IND:18,7,Y
Please do the needful.