Page MenuHomePhabricator

Fix "Uncaught URIError: malformed URI sequence" from jquery.cookie.js on sr.wikipedia.org
Closed, ResolvedPublic

Description

proof of errors

It all started on august 16 after software upgrade, after few minutes of editing almost all tools for editing disappear (buttons for signature, bold text, link etc, and tools found in MediaWiki:Edittools) also gadgets such as UTC Live Clock disappear. I used option ?debug=true and i got this error 4x in Firefox URIError: malformed URI sequence ---- jquery.cookie.js:17. Note: I only have problem on srWiki on other wikis my gadgets work fine and i am not the only one who has this problem [https://sr.wikipedia.org/sr-el/%D0%92%D0%B8%D0%BA%D0%B8%D0%BF%D0%B5%D0%B4%D0%B8%D1%98%D0%B0:%D0%A2%D1%80%D0%B3/%D0%A2%D0%B5%D1%85%D0%BD%D0%B8%D0%BA%D0%B0#.D0.A2.D0.B5.D1.85.D0.BD.D0.B8.D1.87.D0.BA.D0.B8_.D0.BF.D1.80.D0.BE.D0.B1.D0.BB.D0.B5.D0.BC.D0.B8 Технички проблеми and Pretraživač i pretvarač].


Version: unspecified
Severity: major

Attached:

error_shown.JPG (870×1 px, 151 KB)

Details

Reference
bz72509

Event Timeline

bzimport raised the priority of this task from to Needs Triage.Nov 22 2014, 3:50 AM
bzimport set Reference to bz72509.
bzimport added a subscriber: Unknown Object (MLST).

Have you tried removing that specific cookie and logging in again?
Have other users experienced the same problem?

I clean my browsing history with CCleaner so answer is yes and yes other people experienced same problem

I don't know what CCleaner is... :)

Are there any exact steps to reliably reproduce the problem?

Well you can try this: go to srWiki and login turn on gadget UTC Live Clock browse few pages and clock will disappear (for Opera it can take up to 15min) and when you go to Special:Preferences tabs also should disappear.

Just for the records and unrelated here: The URC Live Clock (as any other gadget) is not shown on Special:Preferences because of security reasons (potentially malicious code in gadgets).

Any chance to provide a screenshot of the problem?

UTC Live Clock disappear on other pages (main space, template etc.) i never sad it is shown on Special:Preferences. I can provide video.

Created attachment 16899
Video of a bug

This is wmv file. Note: Pages are loading slow because i am on wifi conection.

Attached:

I've tried a few times by reloading https://sr.wikipedia.org/wiki/Посебно:Подешавања?debug=true with Firefox 32 but I can always see the tabs shown.

If you can reproduce this, the actual content of jquery.cookie.js:17 would be interesting.

I clicked on error and it led me to this line:
return unRfc2068(decodeURIComponent(s.replace(pluses, ' '))); in jquery.cookie.js

Created attachment 17035
Top bar screenshot (FF33)

In reply to Milicevic from comment #7)

Video of a bug

What can be seen around 1'20" is that more items become available in the "More" dropdown. You can also see on the tab title that your browser is still loading the page. So I wouldn't consider that a bug necessarily.

My top bar looks pretty different and no "More" dropdown. See my screenshot.
If there are specific steps to get the same topbar, please provide them.

Also, which gadgets are enabled under https://sr.wikipedia.org/wiki/Посебно:Подешавања#mw-prefsection-gadgets ?

The issue around 2'10" might be different.

Could you use "Tools > Web Developer > Network" to see what's potentially loading so slowly, and which Javascript gadgets are actually loaded?

Attached:

72509.png (170×902 px, 51 KB)

matmarex set Security to None.
matmarex removed a subscriber: Unknown Object (MLST).

Is the issue still happening? This feels like something that would fix itself with time.

Yes issue is still happening.

Per @Aklapper's comment, which gadgets do you have enabled at https://sr.wikipedia.org/wiki/Посебно:Подешавања#mw-prefsection-gadgets ?

It would also help knowing the key and value of the cookie being retrieved that is causing the error. If you're able to set a breakpoint, or inspect the exception the Chrome Dev Tools, that would help a lot. Otherwise it's nearly impossible to figure out what parameters are causing the URIError exception.

Krinkle renamed this task from URIError: malformed URI sequence on srWiki to Fix "Uncaught URIError: malformed URI sequence" from jquery.cookie.js on sr.wikipedia.org.Jan 8 2015, 8:30 PM

At this time none of my gadgets is turnd on in Посебно:Подешавања, i would need specific instruction how to get key, value and all the other things you said, i am not technically skillful

One update: anonymous users are not affected by this problem i.e. edit tools dont disappear

Aklapper changed the task status from Open to Stalled.Feb 2 2015, 6:04 PM

Please use the network and javascript consoles of your browser to see what is loading slowly and if there are errors.

For more information please see:

Milicevic01 removed a subscriber: Aklapper.