[
https://issues.apache.org/jira/browse/NUTCH-2687?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Markus Jelsma updated NUTCH-2687:
---------------------------------
Attachment: NUTCH-2687.patch
> Regex for reading title from Content-Disposition is wrong
> ---------------------------------------------------------
>
> Key: NUTCH-2687
> URL: https://issues.apache.org/jira/browse/NUTCH-2687
> Project: Nutch
> Issue Type: Bug
> Reporter: Markus Jelsma
> Assignee: Markus Jelsma
> Priority: Major
> Fix For: 1.16
>
> Attachments: NUTCH-2687.patch
>
>
> Given URL:
> https://www.amuse-project.org/file/download/default/E6D0537647AF1204656076943F4729B0/Koopstra2016_5fOntologically%20classifying%20ERP%20feature,%20the%20NEXT%20method_5fFinal.pdf
> And regex: \\bfilename=['\"](.+)['\"]
> We get the following title:
> Koopstra2016_Ontologically classifying ERP feature, the NEXT
> method_Final.pdf"; filename*=utf-8'
> Changed regex to: \\bfilename=['\"]([^\"]+) fixes it
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)