Hi

line 57 you use

while ($line = fgetcsv($f, 1024, $options['delimiter'])) {

I think this is a good answer:
http://stackoverflow.com/questions/417142/what-is-the-maximum-length-of-...

Source and redirect can be exceed that. And yes my SEOs will surely want to use URLs of insane size.

I attached a patch to omit the parameter by setting it to NULL.

Maybe add a to the while loop if the URL exceeds some sane length like 1024 chars.

CommentFileSizeAuthor
#1 csv-line-limit.patch509 byteskars-t

Comments

kars-t’s picture

Status: Active » Needs review
StatusFileSize
new509 bytes

I thought I attached a file...

plopesc’s picture

Status: Needs review » Fixed

Hello, you're right.

Now you can give support for URLs as long as your crazy SEO want... ;)

Thanks again!

http://drupalcode.org/project/path_redirect_import.git/commit/9b2baa1

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.