mirror of
https://github.com/abapGit/abapGit.git
synced 2025-05-01 12:20:51 +08:00
html_utils: URL unescape parameter fields
For some strange reason even post data is URL escaped on our servers. How I discovered this issue: 1. go to stage 2. leave some files in the state ? 3. click the Commit link 4. get the error 'process_stage_list: unknown method %3F' URL decode '%3F' and see that the value is '?'. The value is set to the hidden input fields in its unescaped form in the function submitSapeventForm() but the value is escaped in the method lif_gui_page~on_event of the class lcl_gui_page_stage.
This commit is contained in:
parent
abe9b553a0
commit
102e5f9858
|
@ -124,9 +124,11 @@ CLASS lcl_html_action_utils IMPLEMENTATION.
|
|||
|
||||
field-name = substring_before( val = <substring>
|
||||
sub = '=' ).
|
||||
field-name = cl_http_utility=>unescape_url( field-name ).
|
||||
|
||||
field-value = substring_after( val = <substring>
|
||||
sub = '=' ).
|
||||
field-value = cl_http_utility=>unescape_url( field-value ).
|
||||
|
||||
INSERT field INTO TABLE rt_fields.
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user