Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
4c3068ee
Commit
4c3068ee
authored
Sep 29, 2000
by
dave%intrec.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug 44076: Editparams falsely detecting text field changes and
NS4Mac putting a single linefeed in empty fields.
parent
568b941f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
1 deletion
+4
-1
doeditparams.cgi
doeditparams.cgi
+4
-1
No files found.
doeditparams.cgi
View file @
4c3068ee
...
...
@@ -51,7 +51,8 @@ foreach my $i (@::param_list) {
if
(
exists
$::FORM
{
"reset-$i"
})
{
$::FORM
{
$i
}
=
$::param_default
{
$i
};
}
$::FORM
{
$i
}
=~
s/\r\n/\n/
;
# Get rid of windows-style line endings.
$::FORM
{
$i
}
=~
s/\r\n/\n/g
;
# Get rid of windows-style line endings.
$::FORM
{
$i
}
=~
s/^\n$//
;
# assume single linefeed is an empty string
if
(
$::FORM
{
$i
}
ne
Param
(
$i
))
{
if
(
defined
$::param_checker
{
$i
})
{
my
$ref
=
$::param_checker
{
$i
};
...
...
@@ -64,6 +65,8 @@ foreach my $i (@::param_list) {
}
}
print
"Changed $i.<br>\n"
;
# print "Old: '" . url_quote(Param($i)) . "'<BR>\n";
# print "New: '" . url_quote($::FORM{$i}) . "'<BR>\n";
$::param
{
$i
}
=
$::FORM
{
$i
}
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment