Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incoming FOIA Portal Task Communication Link Handling broken #1291

Closed
morisy opened this issue Nov 30, 2017 · 1 comment
Closed

Incoming FOIA Portal Task Communication Link Handling broken #1291

morisy opened this issue Nov 30, 2017 · 1 comment
Assignees

Comments

@morisy
Copy link
Member

morisy commented Nov 30, 2017

So there's some weird Markdown related (I think) bug with incoming portal tasks, where the incoming link is pseudo markdown:

bug

Which isn't that bad except then the actual hyper link points to '''
'''
http://E4d5132a685bea183861f69cf4fcc10f887fa3a7e_Q21916_D1949800.pdf](https://efoia.fbi.gov/download-file/submission-4d5132a685bea183861f69cf4fcc10f887fa3a7e/NjtLkIbq6THAuXk/E4d5132a685bea183861f69cf4fcc10f887fa3a7e_Q21916_D1949800.pdf)"
'''
which is a bad link which makes completing the task more complicated.

@mitchelljkotler
Copy link
Member

So the problem is on all communications, not just portal tasks. The Django urlize template filter does not handle these links correctly due to the way they are formatted. I tried replacing them with bleach.linkify, which processes them correctly, but turned out to be unbearably slow. Will try to come up with a reasonable solution.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants