URL Handling Rules

Bug #530185 reported by Wes
282
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Lernid
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

Revision history for this message
Michael Hall (mhall119) wrote :

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.
[12:21] <???> >>> my_record = Record({ "name": "Stuart Langridge", "project": "Desktop Couch", "hair_colour": "red" }, record_type='http://example.com/testrecord')
[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.

Changed in lernid:
status: New → Confirmed
Michael Budde (mbudde)
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.
This report contains Public Security information  Edit
Everyone can see this security related information.

Duplicates of this bug

Other bug subscribers