Ticket #653 (new issue)

Opened 12 years ago

Last modified 10 years ago

[M] (DI-3-3) Cope with URL's etc in discovery identifiers

Reported by: selatham Owned by: sdonegan
Priority: required Milestone: NDG3
Component: discovery Version:
Keywords: MDIP WS-Discovery2 Cc:

Description

When people use URLs or other special characters in an identifier how will we handle this at ingest etc. Ingest uses the identifier to create a filename for the record in exist.

NOTE this will hit us with MDIP records. Some have URLs as the identifier.

Change History

comment:1 Changed 12 years ago by lawrence

Well, the obvoius thing you need to do with the filename is to url quote it

from urllib import quote
x=quote('http://blah.com')
#and x is your filename

And I think I can probably cope with that ... (I'll need to have a try/except around some existing code). I suspect matt would be the same.

comment:2 Changed 12 years ago by selatham

  • Owner changed from selatham to ko23

Needs escaping as comes in as mini-moles? Try some examples. See what problems occur.

comment:3 Changed 12 years ago by selatham

Problem with filenames?

Must pass out what we got in.

comment:4 Changed 12 years ago by selatham

  • Owner changed from ko23 to selatham

I'll think about this a bit more.

comment:5 Changed 11 years ago by lawrence

  • Owner changed from selatham to sdonegan
  • Milestone changed from Reporting to NDG3

comment:6 Changed 10 years ago by sdonegan

  • Summary changed from [M] Cope with URL's etc in discovery identifiers to [M] (DI-3-3) Cope with URL's etc in discovery identifiers
Note: See TracTickets for help on using tickets.