increase some form limits and cut a new release #24
1 changed files with 3 additions and 3 deletions
increase size limit for some form fields as I already hit the current limit
commit
ea43b48f2f
|
|
@ -338,9 +338,9 @@ impl JobOfferSubmitForm {
|
||||||
const BACKDATE: &str = "backdate";
|
const BACKDATE: &str = "backdate";
|
||||||
|
|
||||||
match field.name() {
|
match field.name() {
|
||||||
TITLE => once_field(field, TITLE, &mut title, 128).await?,
|
TITLE => once_field(field, TITLE, &mut title, 512).await?,
|
||||||
OFFERING_PARTY => {
|
OFFERING_PARTY => {
|
||||||
once_field(field, OFFERING_PARTY, &mut offering_party, 128).await?
|
once_field(field, OFFERING_PARTY, &mut offering_party, 512).await?
|
||||||
}
|
}
|
||||||
// Technically the local part can be 64 octets and the domain part can be 254 octets
|
// Technically the local part can be 64 octets and the domain part can be 254 octets
|
||||||
// resulting in 320 octets including the `@` see RFC 2821
|
// resulting in 320 octets including the `@` see RFC 2821
|
||||||
|
|
@ -395,7 +395,7 @@ impl JobOfferSubmitForm {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
LINK_TITLES => {
|
LINK_TITLES => {
|
||||||
multi_field(field, LINK_TITLES, &mut link_titles, 128, Some(20)).await?
|
multi_field(field, LINK_TITLES, &mut link_titles, 512, Some(20)).await?
|
||||||
}
|
}
|
||||||
LINK_URLS => multi_field(field, LINK_URLS, &mut link_urls, 2048, Some(20)).await?,
|
LINK_URLS => multi_field(field, LINK_URLS, &mut link_urls, 2048, Some(20)).await?,
|
||||||
BACKDATE => {
|
BACKDATE => {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue