URL Handling Rules
Bug #530185 reported by
Wes
This bug affects 5 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Lernid |
Fix Released
|
High
|
John S. Gruber |
Bug Description
Lernid should only parse and load certain urls. When code examples are given that contain urls, or sites are mentioned in passing (such as for further reference), these urls are loaded in Lernid. Lernid should only load urls that are on a line by themselves, or perhaps prepended with URL:. This would allow the presenter to choose which urls are loaded on a case by case basis.
Related branches
lp://staging/~jsjgruber/lernid/lernid-proposed
- John S. Gruber: Pending requested
-
Diff: 2983 lines (+636/-637)50 files modifiedbin/lernid (+7/-9)
debian/changelog (+22/-0)
etc/lernid-classrooms.d/ubuntu-classroom (+1/-1)
lernid.1 (+0/-3)
lernid/Sessions.py (+6/-7)
lernid/lernidconfig.py (+1/-1)
lernid/widgets/Browser.py (+225/-182)
lernid/widgets/Schedule.py (+1/-1)
lernid/widgets/WebChatroom.py (+0/-61)
lernid/widgets/__init__.py (+0/-1)
po/af.po (+8/-8)
po/ar.po (+10/-11)
po/ast.po (+8/-8)
po/ca.po (+9/-9)
po/cs.po (+8/-8)
po/da.po (+8/-8)
po/de.po (+11/-11)
po/el.po (+9/-9)
po/en_AU.po (+10/-10)
po/en_CA.po (+10/-10)
po/en_GB.po (+12/-11)
po/eo.po (+9/-9)
po/es.po (+13/-13)
po/es_AR.po (+8/-8)
po/eu.po (+9/-9)
po/fi.po (+8/-8)
po/fil.po (+12/-11)
po/fr.po (+12/-12)
po/he.po (+9/-9)
po/hr.po (+9/-9)
po/hu.po (+9/-9)
po/id.po (+8/-8)
po/it.po (+10/-10)
po/jbo.po (+8/-8)
po/ms.po (+10/-10)
po/nb.po (+8/-8)
po/nl.po (+12/-12)
po/oc.po (+9/-9)
po/pl.po (+11/-11)
po/pt.po (+8/-8)
po/pt_BR.po (+10/-10)
po/ro.po (+8/-8)
po/ru.po (+9/-9)
po/sl.po (+10/-10)
po/sv.po (+11/-11)
po/te.po (+8/-8)
po/tr.po (+9/-9)
po/uk.po (+10/-10)
po/zh_CN.po (+12/-11)
setup.py (+1/-1)
Changed in lernid: | |
importance: | Undecided → Medium |
security vulnerability: | no → yes |
Changed in lernid: | |
importance: | Medium → High |
Changed in lernid: | |
status: | Confirmed → In Progress |
assignee: | nobody → John S. Gruber (jsjgruber) |
Changed in lernid: | |
milestone: | none → 0.8.1.4 |
Changed in lernid: | |
status: | In Progress → Fix Released |
To post a comment you must log in.
Example from UODW DesktopCouch log:
[12:21] <???> # get the "testing" database. In your desktop Couch you can have many databases; each application can have its own with whatever name it wants. If it doesn't exist already, this creates it. example. com/testrecord')
[12:21] <???> >>> my_record = Record({ "name": "Stuart Langridge", "project": "Desktop Couch", "hair_colour": "red" }, record_type='http://
[12:21] <???> # Create a record, currently not stored anywhere. Records must have a "record type", a URL which is unique to this sort of record.
This triggered Lernid to try and load http:// example. com/testrecord, which is not the desired action.