Shorts converts & into & when reading RDF feeds
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Canonical System Image |
Confirmed
|
Medium
|
Alan Pope 🍺🐧🐱 🦄 | ||
Ubuntu Shorts App |
Fix Committed
|
Medium
|
Unassigned |
Bug Description
When opening a RDF Feed, shorts converts the & char into & which is interpreted as a parameter in the url.
Check the GET Line. The &bin.... is changed into &bin_id ...
Example is taken from my blog URL:
http://
Example from RDF File read from Kjots -> KDE:
GET /bin.php?
Host: stargate.solsys.org
Connection: keep-alive
User-Agent: Mozilla/5.0 (X11) KHTML/5.18.0 (like Gecko) Konqueror/5.18
Referer: http://
Pragma: no-cache
Cache-control: no-cache
Accept: image/png, image/jpeg, video/x-mng, image/jp2, image/gif;
Accept-Encoding: gzip, deflate, x-gzip, x-deflate
Accept-Charset: utf-8,*;q=0.5
Accept-Language: en-US,fr;
Cookie: PHPSESSID=
HTTP/1.1 200 OK
Date: Wed, 10 Feb 2016 11:02:44 GMT
Server: Apache/2.4.7 (Ubuntu) OpenSSL/1.0.1f
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-
Content-Length: 4517
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: image/jpeg
Shorts request:
GET /bin.php?
Cookie: PHPSESSID=
Connection: Keep-Alive
Accept-Encoding: gzip, deflate
Accept-Language: en-US,*
User-Agent: Mozilla/5.0
Host: stargate.solsys.org
HTTP/1.1 401 Bad Request
Date: Wed, 10 Feb 2016 10:23:29 GMT
Server: Apache/2.4.7 (Ubuntu) OpenSSL/1.0.1f
Expires: Thu, 19 Nov 1981 08:52:00 GMT
Cache-Control: no-store, no-cache, must-revalidate, post-check=0, pre-check=0
Pragma: no-cache
Content-Length: 2563
Keep-Alive: timeout=5, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=UTF-8
Related branches
- Jenkins Bot: Approve (continuous-integration)
- Ubuntu Shorts Developers: Pending requested
-
Diff: 9146 lines (+5314/-1200)42 files modified.bzrignore (+1/-0)
shorts/po/com.ubuntu.shorts.pot (+28/-28)
shorts/po/zh_CN.po (+0/-458)
shorts/qml/components/ArticleViewItem.qml (+6/-1)
shorts/qml/content/ContentPickerDialog.qml (+4/-0)
shorts/qml/content/ImportFeeds.qml (+10/-2)
shorts/qml/content/OpmlParser.qml (+42/-19)
shorts/qml/nongoogle/AppendNGFeedPage.qml (+14/-9)
shorts/qml/nongoogle/XmlNetwork.qml (+57/-42)
shorts/qml/shorts-app.qml (+2/-0)
shorts/qml/utils/databasemodule_v2.js (+7/-5)
shorts/utilities.cpp (+89/-15)
shorts/utilities.h (+20/-1)
shorts/xml2json/rapidjson/allocators.h (+3/-1)
shorts/xml2json/rapidjson/document.h (+607/-160)
shorts/xml2json/rapidjson/encodedstream.h (+30/-1)
shorts/xml2json/rapidjson/encodings.h (+77/-0)
shorts/xml2json/rapidjson/filereadstream.h (+1/-1)
shorts/xml2json/rapidjson/filewritestream.h (+1/-1)
shorts/xml2json/rapidjson/fwd.h (+151/-0)
shorts/xml2json/rapidjson/internal/diyfp.h (+1/-1)
shorts/xml2json/rapidjson/internal/dtoa.h (+33/-6)
shorts/xml2json/rapidjson/internal/ieee754.h (+1/-0)
shorts/xml2json/rapidjson/internal/regex.h (+705/-0)
shorts/xml2json/rapidjson/internal/stack.h (+39/-5)
shorts/xml2json/rapidjson/internal/strfunc.h (+17/-1)
shorts/xml2json/rapidjson/internal/strtod.h (+0/-1)
shorts/xml2json/rapidjson/internal/swap.h (+9/-0)
shorts/xml2json/rapidjson/istreamwrapper.h (+110/-0)
shorts/xml2json/rapidjson/memorybuffer.h (+1/-1)
shorts/xml2json/rapidjson/memorystream.h (+3/-3)
shorts/xml2json/rapidjson/ostreamwrapper.h (+76/-0)
shorts/xml2json/rapidjson/pointer.h (+55/-27)
shorts/xml2json/rapidjson/prettywriter.h (+52/-10)
shorts/xml2json/rapidjson/rapidjson.h (+76/-150)
shorts/xml2json/rapidjson/reader.h (+539/-200)
shorts/xml2json/rapidjson/schema.h (+2017/-0)
shorts/xml2json/rapidjson/stream.h (+179/-0)
shorts/xml2json/rapidjson/stringbuffer.h (+25/-1)
shorts/xml2json/rapidjson/writer.h (+222/-48)
shorts/xml2json/rapidxml/rapidxml.hpp (+1/-1)
shorts/xml2json/xml2json.hpp (+3/-1)
Changed in ubuntu-rssreader-app: | |
status: | New → Confirmed |
importance: | Undecided → Medium |
Changed in canonical-devices-system-image: | |
assignee: | nobody → Alan Pope (popey) |
importance: | Undecided → Medium |
milestone: | none → backlog |
status: | New → Confirmed |
“When opening a RDF Feed”
I do not understand, how did u "open" that feed ? ~