Title: Javascript Error: Malformed URI
Last modified: February 6, 2022

---

# Javascript Error: Malformed URI

 *  Resolved [sherwin_flight](https://wordpress.org/support/users/sherwin_flight/)
 * (@sherwin_flight)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/javascript-error-malformed-uri/)
 * There seems to be a javascript error in the previous two versions (at least).
 * Uncaught URIError: malformed URI sequence
    /wp-content/plugins/pdf-forms-for-
   contact-form-7/js/notices.js?ver=2.0.1:3
 * It’s related to this line of code in the notices.js file:
 * var cookies = decodeURIComponent(document.cookie).split(‘; ‘);

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [maximum.software](https://wordpress.org/support/users/maximumsoftware/)
 * (@maximumsoftware)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/javascript-error-malformed-uri/#post-15339349)
 * Hi,
 * This is a very strange error. I would like to reproduce it myself.
 * What browser are you using? If you are using a browser with developer tools, 
   please access the JS console (while you are on the page that has the JS error)
   and type in `document.cookie`, press enter, and let me know what you get. There
   is probably some sensitive info there, so, if you want to send it to admin at
   maximum dot software then that would work too.
 * Thank you.
 *  Plugin Author [maximum.software](https://wordpress.org/support/users/maximumsoftware/)
 * (@maximumsoftware)
 * [4 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-malformed-uri/#post-15364341)
 * I didn’t receive any communication from you, so, I am assuming your issue was
   a corrupted cookie that was caused by something outside my control. Clearing 
   your cookies would probably be advised. I added code to the just released version
   of the plugin that should fix the JS error for you.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Javascript Error: Malformed URI’ is closed to new replies.

 * ![](https://ps.w.org/pdf-forms-for-contact-form-7/assets/icon.svg?rev=2670251)
 * [PDF Forms Filler for CF7](https://wordpress.org/plugins/pdf-forms-for-contact-form-7/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pdf-forms-for-contact-form-7/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pdf-forms-for-contact-form-7/)
 * [Active Topics](https://wordpress.org/support/plugin/pdf-forms-for-contact-form-7/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pdf-forms-for-contact-form-7/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pdf-forms-for-contact-form-7/reviews/)

## Tags

 * [javascript](https://wordpress.org/support/topic-tag/javascript/)

 * 2 replies
 * 2 participants
 * Last reply from: [maximum.software](https://wordpress.org/support/users/maximumsoftware/)
 * Last activity: [4 years, 1 month ago](https://wordpress.org/support/topic/javascript-error-malformed-uri/#post-15364341)
 * Status: resolved