Title: Broken parameters
Last modified: September 6, 2023

---

# Broken parameters

 *  [Андрій](https://wordpress.org/support/users/andxbes/)
 * (@andxbes)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/broken-parameters/)
 * Parameters for testing
 * `http://localhost/services/esg-consulting/materiality/?utm_campaign=compain&utm_source
   =https%3A%2F%2Fwww.example.com%2Fabout%2Fcontact%2F%3Fparam1%3Dtest%26param2%
   3Dindex.html`
 * > [View post on imgur.com](https://imgur.com/rvSCrWh)
 * It is impossible to get the whole address from the utm parameter, because this
   line is to blame. Maybe you wanted to write like this? Otherwise, it makes no
   sense to remove characters before decoding, without which decoding is impossible.
 * in handl-utm-grabber/js/handl-utm-grabber.js line 14
 *     ```wp-block-code
       curval = decodeURIComponent(curval.replace(/[%]/g,' '))
       ```
   
 *     ```wp-block-code
       curval = decodeURIComponent(curval).replace(/[%]/g, ' ');
       ```
   
 * > [View post on imgur.com](https://imgur.com/f356sMf)
 * ![](https://wordpress.org/8c7fd5ef-eaa4-4a50-bb5e-713b4c52a49c)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Haktan Suren](https://wordpress.org/support/users/haktansuren/)
 * (@haktansuren)
 * [2 years, 8 months ago](https://wordpress.org/support/topic/broken-parameters/#post-17045843)
 * It seems like you might be correct. I need to review the code base to understand
   why it was written in that manner before making any changes. Thank you for your
   feedback.

Viewing 1 replies (of 1 total)

The topic ‘Broken parameters’ is closed to new replies.

 * ![](https://ps.w.org/handl-utm-grabber/assets/icon-256x256.png?rev=2817979)
 * [HandL UTM Grabber / Tracker](https://wordpress.org/plugins/handl-utm-grabber/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/handl-utm-grabber/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/handl-utm-grabber/)
 * [Active Topics](https://wordpress.org/support/plugin/handl-utm-grabber/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/handl-utm-grabber/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/handl-utm-grabber/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Haktan Suren](https://wordpress.org/support/users/haktansuren/)
 * Last activity: [2 years, 8 months ago](https://wordpress.org/support/topic/broken-parameters/#post-17045843)
 * Status: not resolved